BIOS of HP laptops of these days will complete the last step of completing the installation. There is no need to know or get a product key to reinstall or clean install Windows 10.
Many like to clean install Windows 10 on their laptops to format the old partition and have a new installation of the operating system.