• If there are no waiters, the lock becomes UNLOCKED.

  • Otherwise, grant the lock to the first waiter.

  • If the lock is now SHARED, keep granting lock requests as long as the request is for a SHARED lock.