Mute/unmute iPhone based on location or time
Settings &gt; Do Not Disturb has many options available, as explained at this page:



or Apple's brief explanation here: 


  Do Not Disturb
  
  Do Not Disturb is an easy way to silence iPhone, whether you’re going
  to dinner or to sleep. It keeps calls and alerts from making any
  sounds or lighting up the screen.
  
  Turn on Do Not Disturb. Swipe up from the bottom edge of the screen to
  open Control Center, then tap the do not disturb button. When Do Not
  Disturb is on, the do not disturb button appears in the status bar.
  
  Note: Alarms still sound, even when Do Not Disturb is on. To make sure
  iPhone stays silent, turn it off.
  
  Configure Do Not Disturb. Go to Settings > Do Not Disturb.
  
  You can schedule quiet hours, allow calls from your Favorites or
  groups of contacts, and allow repeated calls to ring through for those
  emergency situations. You can also set whether Do Not Disturb silences
  iPhone only when it’s locked, or even when it’s unlocked.


Its really quite handy, but what is lacking is the ability to schedule Do Not Disturb in the Calendar app for repeats and specific times of the day. That would be sweet.