There is a feature to set do not disturb to allow notifications from certain contacts, or types of notifications. I have set it up to receive chats frlm family and calls
On iOS, you can break through dnd with repeated calls (unless you turn that off, too).