Growing and Shrinking Door (5e Trap)
From D&D Wiki
Growing and Shrinking Door
This trap is an unlocked door on a otherwise empty wall that shrinks/grows when you try to go through in a way that it is just to little for you, you can't go through by any means like shapeshifting or shrinking. The best way to go through is by using something like a rope to make a big square where you can go through, if you put this against the wall the door is in it will shrink/grow so it is just to little for the rope to go through, now you just walk through the rope and you are in.