Hello
Yes, Windows 10 and 11 basically use the same key. So if you have the Windows 10 Pro key, you can use it to activate Windows 11 Pro, with exception - if your key was originally a Windows 7/8 Pro key that was upgraded to 10, then you cannot use it for Windows 11 Pro.