Here are the steps to turn of the notifications in Windows 10:
Click on the Win button to open the search
Type "Focus Assist" in the search field
You should be able to locate the following menu
4. Turn on the setting "When I'm using an app in full-screen mode". This will prevent
notifications from appearing.