The meaning of Prison / being imprisoned in dream | Dream interpretation
May symbolize restrictions and dependency in many forms. Usually, it expresses a need for more space and freedom, as in Crowds, Shackles, and Cage. You feel limited (often because of a relationship or situations at work) or awkward. In rare cases, it refers to a “blind spot” or a sore point you’re saddled with.
Freud dreamed in his youth about a prison in the shape of a Box, which to him was the symbol of a uterus.