Hi,
Did you purchase the activation separately, or did it come with the computer? In this case, try activating it after the hardware change using the link below:
https://support.microsoft.com/en-us/windows/activation/reactivating-windows-after-a-hardware-change
If it is a 25-digit key, do you have it written down?
Do not post any personal details here.
Thank you.