If you have a Windows 11/10 PC, but without any activation, all you need to do is buy a license. Go to Settings > Update and Security > Activation, and use the link to purchase a license of the ...
Enter the purchased product key in the appropriate field ... that you can get a free upgrade to Windows 11 when you buy a Windows 10 key. Let's say you want to build a custom PC for gaming.