I can mute my headset using a switch on the headset itself. So this project turns a key on your keyboard into such a switch?
Edit: this is the headset https://www.astrogaming.com/en-us/products/headsets/a10-gen-...
Also, this is not an endorsement, I would actually not recommend this headset.