We assume that you have a valid/genuine product key. Lets start, Follow these steps mentioned below.
Follow these steps to change Windows 10 product key
Login as Administrator
Click “Start” menu -> Settings
Click “Update & Security”
Then click “Activation” option in the left pane.
Now you can see “Change product key” button in the left pane, click it .
Enter the new product key for activation.