Thanks for your query.
Your problem is really disabling. But as being psychiatrist
I would like to rule anxiety disorder or phobia in your case. Do not get offended as I want to help you only.
If your problem is occurring in closed spaces like bathroom, closed room, crowded places and bus, with associated anxiety with other symptoms like excessive sweating
, tremor or palpitation then we need to look for agoraphobia
in your case.
Hope this will help you.
Wishing you Good Health.