To dream that you are locked out, suggests that you are feeling alienated or unaccepted. You have difficulties getting in touch with your feelings. Consider what and where you are being locked out of.
Dreaming that a door you're trying to go through is locked can mean you feel you're coming up against an obstacle in some area of your life. Look for another way forward.