fix inserting lock request in _acquireInternal, simplify _releaseInternal, add _findQueue