Use Do not disturb mode to reject calls, and silence audible alerts and notifications, but still keep a data connection available.
Home screen, tap
Tap Do not disturb, and then tap Do not disturb mode to turn it on and off, or to choose priority mode.
When Priority is selected, tap to set priority notifications such as events and reminders or calls and messages.
The Do not disturb icon
or the priority icon
will appear in the status bar. Even when Do not disturb mode is on, you'll still see notification icons in the status bar to alert you of missed calls, new messages, calendar events, alarms, and other notifications.
Tip: When the screen is on, press to manage Do not disturb mode quickly.