Multiterm: managing locked entries programatically

Hi all,

does anyone know about a possibility to programatically query locked entries in Multiterm, and to break the locks? Like we can do manually in the MT Administrator.

The base problem is that sometimes a programatic update of an MT Entry fails, and the lock does not get removed (it also usually fails afterwards). After this an automatic recover is not possible, because the entry lock can be removed only manually.

thanks,

Tamas