If you have an iPhone then use Do Not Disturb instead (Use Do Not Disturb with Focus on your iPhone or iPad). You can allow certain people/apps to get through to you during these times rather than being completely incommunicado. I expect Android phones would have something similar.