To clarify mcv's last statement... if you have taken the time to create local user accounts because who is using your computer is none of Microsoft's business, and then you make the mistake of buying Minecraft and logging in to it, Minecraft will automatically and with no warning [1]
irrevocably tie that Windows user account to the Microsoft account used to log in Minecraft.
I now have n+1 accounts on my Windows system because I had the kid who did that leave that account just to use Minecraft and created a new account for everything else.
I'm pretty close to going to Linux on this system. It was the house game system but I just got a Steam Deck, which is fulfilling that role nicely, and that leaves Windows hanging on only by a thread of my personal laziness/business (depending on how charitable you are); everything else that system does is either equally doable by Linux or better done by Linux.
[1] At least, no warning I saw and/or understood, and I think it's fair to say that if I didn't realize that's what going to happen, neither did 99%+ of the user base. I'm sure lawyers have their bases covered somewhere but I don't care.