Locking a Workflow Transaction
Use this function to lock a workflow transaction. A workflow is locked while it is executing a transaction or when there is a problem with the workflow. This task is performed automatically by the OSM and should not be used unless you are debugging the system. The information present in a lock allows you to trace the state of a transaction and the workflow it is executing (if any), and to abort such a transaction.