Embedded in the UEFI/BIOS (Usually newer PCs running Windows 8 or Windows 10) Most new PCs sold in stores today come with the product key permanently embedded in the firmware. Instead of printing the product key on a sticker where it could be easily stolen or smudged off, manufacturers are now opting to store it in the UEFI or BIOS. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.