Once you open the passage to the room he's locked in, it permanently stays open. Plus, any badge can open the passage, not just the knight badge.