This dream shows that you were being confined for a long time. This confinement was caused by someone whom you considered close to yourself. But now you are aware of their truth.
Breaking the prison bars in the dream symbolizes your need to break ties with the people who are a negative influence in your life. This dream is warning you to be more thoughtful. Decisions made in extreme passions might be dangerous.