yes, standard lockwood key mechanism with two sides one blocks the other with the key in.
it's a useful thing as a countermeasure against a bad housemate or invasive landlord. it also means you can't pick the lock if the key is on the inside.
today you learned something you didn't know before.