Dreams about locking doors often symbolize a desire for security and control in your life. The act of locking doors can indicate a need to protect yourself or your personal space, whether emotionally or physically.
The presence of people leaving or staying can reflect your feelings about relationships or social dynamics in your waking life. Those who left may represent aspects of your life or relationships that you are ready to let go of, while those who stayed might signify the connections or commitments you wish to maintain.
The glass walls of the building could suggest transparency and vulnerability, as glass allows others to see in. This might indicate that you feel exposed in some areas of your life, or perhaps you wish to keep certain aspects of yourself visible while still needing to establish boundaries.
Consider reflecting on any current situations in your life where you feel the need to assert control or protect your boundaries. Are there relationships or commitments you are contemplating? This dream might be urging you to think about who you want to keep close and what you need to let go of for your emotional well-being.