Fail immediately if the lock cannot be acquired.