You can use the Do Not Disturb feature on your iPhone whenever you want to block any calls, texts, or other notifications from making your phone ring. The notifications and alerts will still be stored on your phone, and you can check them at any time, but your iPhone won't light up or ring.