Best Buy normally treats digital software as final sale, so the store will probably say no. But since your code was never redeemed, it's worth calling Best Buy customer service (not the store itself) with your order number and asking for an exchange or refund. Unused codes sometimes get an exception, especially if you ask soon after buying.
If they won't take it back, you don't lose the money. Just use the Home code, then upgrade:
- Install or activate Windows 11 Home with the code you have.
- Go to Settings > System > Activation.
- Under "Upgrade your edition of Windows", click Open Store and buy the Pro upgrade. It's $99.99 in the US.
The upgrade keeps all your files and apps, no reinstall needed, and Pro activates straight away on that PC.
Small tip: if the Best Buy refund works out, buying Windows 11 Pro on its own (around $199) costs about the same as Home plus the upgrade, so either way works. Just make sure you redeem the right one this time.