Yeah so how you fix this is by finding a YouTube video, that has all of the code. You're going to go through the process of entering all the code, you're realize that you entered the code wrong, then you're going to move on to the next part of the code and realize you entered that in wrong several times too, and when you're finally done with all of that good good great stuff, hopefully your PC will boot in, and when it does, you'll find that it's in Windows 10.
That was my experience. Now the real question is, is will it still boot you into Windows 10 if you never had Windows 10? If the answer is no; then your fix for your problem, is to buy a new PC, and make sure you have Windows 10 and not Windows 11.
I'm sure windows will take down my comment, because they've forcibly weaned me off of Windows 7, God's intended version of Windows, which the fact that Windows has forced us all off of Windows 7, is proof that there is no God. Windows 11, is hands down the worst thing I have ever seen, it is worse than Windows 8, and every time you guys take a chance on Windows 11, you're going to regret it.
Now I can understand why you can't run Linux, I can't run Linux, I have certain specific mods for certain games, like Skyrim, certain files, certain programs, that are just not available for Linux unfortunately. Otherwise I'd be running Linux, because I am just so damn sick and tired of windows nonsense. The best version of Windows ever, is Windows 7, and if they hadn't forcibly removed all support, and forcibly built programs that otherwise could have worked on Windows 7, but forcibly built in future so that they don't, I would probably still be running Windows 7. I am pissed that I'm stuck on Windows 10, because of the things I want to use, when I'd much rather be using Windows 7, but admittedly, Windows 10 is okay, now if they think they're going to get me onto Windows 11, they're going to have to pry the shotgun my cold dead hands, and hope that underneath my jacket is not a suicide vest.