Assert cannot release if not locking