Vision: Seeing yourself behind bars: you are either very dependent on others or are prevented from doing something. Looking at barred windows: you are isolating—show more interest in others. Maybe you are longing for a person far away. Seeing a huge iron gate: you have too many unrealistic hopes and wishes.
Depth Psychology: Bars are either a warning about unrealistic wishes or indicate your longing for a person who is far away.... Dreamers Dictionary
Dreams of a grid represent your ability to make sense out of the circumstances and events of your life. You are able to maintain objectivity about the patterns, cycles, and systems in your life.... Strangest Dream Explanations
A grid featured in your dream suggests you are contemplating a relationship or activity that others would not approve of. Think it over carefully before you get involved, and if you do... be careful.... My Dream Interpretation