Instead have a look at 'Do not disturb' in 'Notifications'.
You can schedule what you want your 'quiet' hours to be and select what you want - or not as the case may be - to disturb you during those hours. If you don't want to be disturbed by ANYTHING then you won't hear a peep.