locked himself in, shut himself in
Он заперся в своей комнате и не хочет выходить.
He locked himself in his room and doesn't want to come out.
— Американская ночь (1973)
Помнишь тот случай, когда Алекс заперся в туалете?
Do you remember that time Alex locked himself in the bathroom?
— Гудбай, Ленин! (2003)
Маленький Том заперся в ванной и не мог открыть дверь.
Little Tom locked himself in the bathroom and couldn’t open the door.
Он наверху, пришел сразу после тебя и заперся у себя в комнате.
He's upstairs; he came right after you and locked himself in his room.
— Плата за страх (1953)
Том заперся в своей комнате.
Tom locked himself in his room.
He locked himself in his room.
I locked myself in my room.