In most cases, anything that can't be opened from inside the fridge would also do it. The lock on the inside is only neccessary if it's a house with multiple renting parties and there are multiple such refrigerators in the wall between the outside and the hallway, as opposed to one refrigerator between each flat and the hallway.