1
If you purchased the Windows 11 Pro licence directly from Microsoft, try using this method with the generic Pro product key to upgrade from Home to Pro.
Important - disconnect totally from the Internet
Open the Settings App (Gear icon on your Start Menu)
Go to Update and Security - Activation
Click Change Product key
Enter this generic product key: VK7JG-NPHTM-C97JM-9MPGT-3V66T
When prompted, click 'Activate Product'
If the above does not work first time, restart your PC and try again.
Note the generic key will cause the Home edition to upgrade to the Pro edition, then your own legal licence will activate automatically after you restart (not shut down) your PC.
2
For the Office licence:
When you first installed and activated Office that licence should have become associated to your Microsoft Account as a digital licence online and it is from there that you can re-install Office without the need for a product key: