I'm afraid it's not likely that you can do that.
Microsoft stopped selling licenses for Windows 10 on January 31, 2023 and by now they are long gone from retail stores. You would have to have a Retail copy of Windows 10 (not an OEM copy) in your hands.