Runnable used in conjunction with document locking helper methods.
and
docLock(boolean, LockRunnable)