The block will run in with the reentrant lock.
() -> Unit The block of code to execute within the lock.