lock

open fun lock()
inline fun lock(rect: RectangleInt = this.rect, doLock: Boolean = true, block: () -> Unit): Int