かぎがかかる

鍵がかかる

to become locked; to lock

N3Expression
Expression, Godan verb (ru ending)
to become lockedto lock