Ugh... this code passes the tests, but I REALLY should be allow to assert the lock is not NULL and is not acquired.