Allows to have CoppeliaSim wait for a threaded code section to be executed without interruption. Locking is cumulative
sim.acquireLock()
See also: