Hello,
You will need to make sure that you installed the edition of Windows that came with your computer, as Windows will fail to activate if the editions do not match. However, the Windows 10 license that came with the laptop will activate Windows 11 once the editions line up.
Could you take a screenshot of the error message that pops up in Settings > System > Activation, if any, as well as a screenshot of slmgr /dlv (make sure to run that command as administrator)? Then, run the Activation Troubleshooter on the same screen and see if it can do anything. Make sure to click "I recently changed hardware" and see if any licenses are there.
I hope to hear back from you.