Each input corresponds to a separate request for the lock. The lock is given to the single output signal that goes high.