Input: Head: latch<sep>Tail: lock the opening after Person Y leaves
Answer: Yes