This method locks a document for other users. Only a logical lock can be set, that is, this lock only has an effect on the logical level.
It is still possible to use the other methods. The method
DOCUMENT_ENQUEUE should always be used if there is a possibility that more than one person may modify a document at the same time.If an error occurs when this method is called, for instance because the document is already blocked by another user, modifying methods should not be used because otherwise data consistency cannot be guaranteed.
After the modifications have been made, the method
DOCUMENT_DEQUEUE should be called. This method unlocks the document again.