when your laptop comes with a license key built into the hardware/bios and need to upgrade to pro

this is a generic key win pro key

Changepk.exe /ProductKey VK7JG-NPHTM-C97JM-9MPGT-3V66T

after using that, your edition should change to pro. you can check it by going to settings => system => activation

if the Windows says not activated, use the troubleshooter and when you see an option “I changed hardware on this device recently”, use that to reactive your Windows.