If you have claimed a free upgrade from Windows 7 all the way to Windows 11, that possibility was prior to Microsoft's policy change. The new policy will not allow this anymore, and you cannot use this same license to keep your Windows 11 on a new device unfortunately. You will need a new Windows 11 license in this case.
This is due to a policy change done by Microsoft. For the several years, there was a loophole where users could upgrade to Windows 10 and then 11 by using an old Windows 7 or 8 keys. The loophole has been now blocked by MicrosoftThis is why you cannot install Windows 11 now with your Windows 7 license. This is the news about this change: https://devicepartner.microsoft.com/en-us/communications/comm-windows-ends-installation-path-for-free-windows-7-8-upgrade