It's not true.
A refrigerator keep the cool temperature by moving the heat from inside the box to outside the box.
If that student open the door, the temperature inside the refrigerator would be equal with the average temperature of the room, which make his effort pretty much pointless.