Trapdoors are permanently unlocked from Level 686 onwards, but you might see them in events before reaching this level.