An unlocked door in a dream can mean that you have access to new possibilities and chances in your future.
It could be telling you that you have options- the opportunity to do something different.
Perhaps you need a change of job, location or relationship and the door is a symbol of your yearnings for something new.
If the dream caused you some anxiousness however, it could be that you're afraid of change.
A door can also be symbolic of passing from one chapter in your life into another.
If you felt uneasy about the doors being wide open, perhaps you feel some negativity towards the next part of your life. Maybe you aren’t ready for it or you feel forced into it.
If you were worried about the trespassers accessing your home, perhaps you are a negative thinker.
You may have got into bad habits or are fearful of something or someone in your waking life.
It could also be telling you that you are spending too much time with people who are a negative influence on you. It might be time to seek out people who bring positivity and light into your life.
If you were locking the doors maybe you are shutting yourself off from certain people in your life. If there was someone with you inside- you may be comfortable with them being close- but only them. Perhaps you struggle to let other people get to know the real you.
If you were locking doors from the inside it could be a sign that you need to look more inwardly and take stock of your life before moving forward.
Another thought process is that you are afraid to access different parts of your character. Your reluctance to keep the door unlocked might be an indication that you don't like certain aspects of your personality.
The Complete A-Z Dictionary of Dreams by Ian Wallace
Tagged in Dream Interpretation