The instant the last party member is through a door and nobody's looking at the door, the door is gone, leaving only a blank wall. (It's just an illusion spell, but it'll freak them out at first. Or get you accused of really bad railroading, until they find out it's an illusion. Then they'll start thinking about it and wonder who or what cast the illusion.)