Gofasterstripes/hutchweb have it – It’s very unlikely to work.
The Laptop Win 7 licence will likely have been an OEM one, which is tied to the laptop motherboard/CPU combination.
The Windows 10 licence will therefore be the same and will reject activation on the new combination. You might be able to get away with doing a phone activation (you have to tap in long key). Microsoft do make provision for this – laptop motherboards are replaced under warranty etc. but technically you are in breach of the EULA by transferring to a new machine.
If you want to be safe just download a Win 10 iso and install that from scratch on the new machine. You can try and input the Win 7 licence key and if it works it probably means your Win 7 licence was the full product and not an OEM one. If it fails it will tell you where you can purchase a new key from.