withLock

fun <T> withLock(block: () -> T): T