I was thinking this should be possible like we can set a settings that tells the computer to heys stay mute no matter What
Just unplug your speakers.
Raymond Chen explains why what you want is impossible, at a software level.
You might want to make some software that keeps the computer mute no matter what. But then somebody else might make some software to unmute the computer, no matter what.
As Bacon Bits said, you could always disable the sound device. But another application could re-enable the sound device. You could uninstall the sound device drivers, but another application could just reinstall them.
You could uninstall the sound device drivers and flush the Windows driver cache, but another application could take the device ID of all unknown devices on your system and then send them to a web service to identify if they're sound devices and automatically reinstall the right drivers.
Why not schedule a task to uninstall the sound device drivers and flush the Windows driver cache? Make it run every 10 minutes. What is the other application going to do now? Scan device IDs every 9 minutes.
This is like saying, "Sometimes I'm in a hurry, and I want to make sure I am the next person to get served at the deli counter. To do this, I find whoever has the lowest number, knock them unconscious, and steal their ticket. But sometimes somebody else comes in who's also in a hurry. That person knocks me unconscious and steals my ticket. My plan is to set my watch alarm to wake me up periodically, and each time it wakes me up, I find the person with the lowest number, knock them unconscious, and steal their ticket. Is there a better way?"