Yes,you can find some function module at this lock.check below.
You can get some function module in the tcode SE37 with begin ENQUEUE*,and it will be unlock when you compleate this step or use function module with begin DEQUEUE*.
E.g.
* Lock transfer requirement.
CALL FUNCTION 'ENQUEUE_ELLTBKE'
EXPORTING
LGNUM = GV_LGNUM
TBNUM = GV_TBNUM
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
ERROR_MESSAGE = 99.