Do you have an IT department? Go explain to them how you fucked up and used a Windows key from a pirate website on your work laptop and risked the company's reputation and a possible lawsuit from a tech giant and how you wish to unfuck things before it's too late or lose your job.
Fucking hell man. That was a dumb move. I hope you learn a lesson from this.
Honestly, I'd just suggest going to your IT and tell that you fucked around and broke things. The IT guys have seen that (in different ways) so many times it shouldn't really be a too big deal. Way worse if you try to hide it
I feel like IT could yell at OP for a little bit, but would ultimately have to stare the fact that they allowed non-privileged users to just change the operating system square in the face. Like holy hell, 500 employees and anybody can just be like, "Hey, maybe I'll make a major OS change today because why not?" What else are they letting happen?!
Go with humility first, you screwed up. Follow it up with a joke about how you discovered a flaw in the configuration of work laptops, and now they can fix it to prevent someone else from being able to do that 🤷♂️
I think you'll be ok
Just ask them to re-image it. An individually bought key might not pass audit. I recall my company getting audited by Adobe for Acrobat and we had to pay about $12k sure there were lots of individually purchased copies of Acrobat. Adobe did not care if we showed them the receipt for it.
Licensing and activation are separate, and only loosely related. If you are at anything resembling a large org, they don't even use the HWID or OEM key- they will be using an internal KMS server.
It really sounds like you have way more permissions than you should have on a work device. You should've hit a wall even attempting to install Win11 (I can confirm that my work blocks this very effectively). I also question why you would want to do that at all. I'm also not sure you needed to do anything to activate- I believe 10 and 11 use the exact same HWID/keys/etc