Turn on Do Not Disturb at Any Time
Android Marshmallow lets you mute notifications at any time with just a tap. Pull down the Notifications drawer, then swipe down again to get to the Quick Settings tray (or swipe down with two fingers at once). Tap Do not disturb, then choose the sorts of alerts you want to receive while do not disturb is active. You can choose to continue receiving notifications for alarms or priority notifications, or you can opt for total silence. (We’ll discuss priority notifications in-depth here in a moment.)
Finally, choose whether you want to have Do Not Disturb stay on until you say otherwise (“Until you turn this off”) or for a set period of time (“For one hour,” by default). If you choose the latter option, use the “+” and “-“ buttons to set how long you want Do Not Disturb to be active.