Claustrophobia
From Tardis Wiki, the free Doctor Who reference
Claustrophobia was the fear of enclosed spaces. April MacLean was not aware that Charlie Smith was claustrophobic until Miss Quill locked them in Class B3 for detention. When the classroom was taken out of time and space and Charlie found that there was no escape, he suffered a panic attack because of this. (TV: Detained)