Hi Patriciausa03,
Thank you for contacting Apple Support Communities. Based on what you stated, it seems like you turned off Notifications, but you still receive them. You can use a Focus to pause and silence all notifications or allow only certain notifications. The second article explains how to use Focus with Do Not Disturb to silence calls, alerts, and notifications that you get while your iPhone is locked.
When does turning off Notifications work if it still plays sounds when the MacBook is open?
Turn a Focus on or off on Mac
Use Do Not Disturb on your iPhone, iPad, and iPod touch
Please don't hesitate to let us know if you need additional assistance.
Cheers.