What app can block incoming calls, notifications?

What app can block incoming calls, notifications, whilst only one app is running.
For example, I would like my app - Insight Timer -to be active whilst blocking anything else that comes through the phone.