Being trapped is one of the most universally uncomfortable dream experiences, and it maps unusually directly onto waking life: this dream almost always shows up during a real period of feeling stuck in a situation without a clear exit.
Trapped in a small space
Confined spaces — a room, elevator, box — tend to reflect situations that feel restrictive in a very immediate, day-to-day way: a job, living arrangement, or relationship that limits your options in ways you notice constantly.
Trapped with no visible way out
This version, where the trap doesn't have an obvious door or exit at all, often reflects a situation where you haven't yet identified a realistic path forward — not that one doesn't exist, but that you can't currently see it.
Others trying to help you escape
If other people appear trying to free you, it can reflect real support available to you in waking life that you haven't fully leaned on — or a hope that someone else will solve the situation for you.