Executes the given function block while holding the monitor of the given object lock.
Warning since 1.6
Synchronization on any object is not supported in Kotlin/JS
run(block)