Upgrading from Windows 10 to 11 should not cause Windows to deactivate, the upgrade is free.
1
Where did you get your Windows licence was that pre-installed on the PC or did you purchase a full retail Windows licence from Microsoft or from a 3rd party retailer?
2
Click your Start Button, type cmd then right click Command Prompt and choose 'Run as Administrator'
Run or paste this command and hit Enter:
slmgr.vbs /dlv
Please post a screenshot of the resulting dialog
3
Download the free ShowKeyPlus app from the Microsoft Store.
Please provide a screenshot of that app window and please hide your product key in the screenshot.