Texting & FB Messenger still pop-up during blocked hours

Hello,

We have an LG Tribute 5 for my daughter and while the phone's apps are inaccessible during the blocked hours, when she receives a text or an FB message on Messenger, there's a pop-up where she can read the text or message and respond without ever going into the app. See attached image

Is there a way to block this?

Thanks!