Unfortunately, Windows 8.1 key cannot be used for Windows 10/11 activation since 2023.
You may try to clone old Windows 10 to a new laptop, reactivate it and then upgrade to Windows 11. Thes schema may or may not work.
Otherwise, you need new Windows 11 license.