Dreams involving being pursued or threatened can often reflect feelings of anxiety or fear in your waking life. The bathroom, a private space, may symbolize a place of vulnerability or a need for personal boundaries. The act of someone pushing against the door and screaming could represent a situation or emotion that feels overwhelming or invasive.
Consider what areas in your life may feel out of control or where you may feel a lack of safety. The unknown individual may symbolize an aspect of yourself or an external influence that you are struggling to confront. This dream could be urging you to address these feelings or situations instead of avoiding them.
Think about any recent stressful experiences or changes in your life. Reflecting on these might help you understand the root of your anxiety and how to regain your sense of security. It might also be helpful to discuss your feelings with someone you trust or seek ways to create a more secure environment for yourself.