the door was locked
Fui verificar se a porta estava trancada.
I went to check if the door was locked.
A porta estava trancada?
Was the door locked?
A porta estava trancada por dentro.
The door was locked from the inside.