From: https://www.tenforums.com/installation-upgrade/148707-can-you-install-windows-10-pro-instead-windows-10-home.html
Q: So is it possible to install windows 10 pro during a clean install of windows when windows 10 home is embedded on the motherboard of a computer?
A: Yes. Create a text file containing:
[Channel]
Retail
Name the file as ei.cfg and place it in the sources folder in the install media. This will make Setup skip looking for a key in the bios and ask you which edition to install.