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 ...
There are a few different ways to reset all your audio settings in Windows 11, including reinstalling your drivers and restarting the audio services.