If your Windows computer is making notification sounds when sleeping, restart it and see if it helps. At times, the issue is nothing but a glitch that can be resolved by rebooting. In case the issue ...
If your Mac's alerts are becoming a distraction, macOS Tahoe 26 includes simple settings that let you fine-tune how and when notifications appear.