Any key you are given and most you pay for will be useless and probably won't pass activation after installation. You need to buy a copy from Microsoft and it will come with a valid Product Key.
Linus operating systems are free if you can't run to an expensive M$ system.