Is it ok to turn off fridge for 2 hours in the evening?
Should be OK food-safety wise, as the food should remain cold for about 4 hours according to the US FDA:


  
  The refrigerator will keep food cold for about 4 hours if it is unopened.
  A full freezer will keep the temperature for approximately 48 hours (24 hours if it is half full) if the door remains closed.
  


If you open the door a lot, or the insulation / seals are bad, or the temp starts out high to begin with, you may be tempting fate with food spoilage.