You searched for: “cleistophobia
cleistophobia, cleithrophobia (s) (nouns); cleistophobias, cleithrophobias (pl)
An intensive fear of being in closed places or of being locked in some small space: There are people who are afflicted with cleistophobia and cannot tolerate being in a car, in a train, in a street car, or in a room in which they cannot open a window or the door.