withLock

inline fun <T> KiteLock.withLock(block: () -> T): T