returns false if the lock wasn't acquirable