LockSet: make acquire() fail faster on wrong locks