You must complete 4 lists before you can exit the door. It chooses randomly from a set of chosen lists. Once you collect 4, head to the door as quick as possible to trigger the dialogue you need to wait through to open the doors.