You can set your laptop to a specific focus mode helping you filter notifications if you don't want to be disturbed.
Click the menu field.
Click the drop down list next to "Notifications".
Click the indicator next to "Do not disturb" to turn the function on or off.
Click the fields next to the required apps to turn notification permission on or off.
Click the desktop to return to the home screen.