Forgot to check whether the lock was in place in the transaction.