Hello,
You can do this by changing the product key through Settings. First, please disconnect from the internet and then navigate to Settings > System > Activation. From there, press the "Change product key" to change your product key. In the window that opens, copy and paste VK7JG-NPHTM-C97JM-9MPGT-3V66T and then push enter.
Allow the PC to restart and you should be on Windows 11 Pro. You can check by typing winver into the Start Menu and pressing enter.
Please let me know how this goes.