assertHoldsLock