lock in
1. 把……关在里面
Don't lock yourself in all the time.
别老是把你自己关在家里。
lock out
1. 把……关在外面
He locked himself out by mistake.
他不小心把自己关在门外了。