class cpp.vm.Lock
Available on cpp
function new():Void
function release():Void
function wait(?timeout:Float):Bool