If your Windows 10 product key is not working on Windows 11, check the Windows Edition, your activation status, and then ...
Microsoft has released the KB5048652 cumulative update for Windows 10 22H2, which contains six fixes, including a fix that prevented Windows 10 from activating when you change a device's motherboard.