In the grey iPhone Settings app, select "Do Not Disturb". Enable "Manual" and (under "Silence") choose "Always". This will prevent calls.

You can then swipe up on your iPhone to quickly enable and disable Do Not Disturb in the future.

Did this answer your question?