The dream, in which someone has locked you up, denotes to your fears of being unapproved and discarded. Perhaps you find it difficult to find the contact with others. The place of where you have been locked up, would give much more of the interpretation about the dream.
Locked dream meaning
Read more about dreaming of Locked in other dream meanings interpretations.