Greetings!
If you will buy from MS Store, you won't receive a license key but a digital license instead. It means it will be associated with your Microsoft account. So in able to activate your Windows, you just have to sign in with your MS Account and it will be activated.
To check, please click Start menu and type Activation, then hit enter.
Thanks,
Tin