No. Windows 10 includes the feature to factory reset by default, which includes reinstallation of Windows. The setup can either be downloaded from the cloud or triggered from a bootable installation media, but either way, you will not lose Windows 10 on your laptop to a factory reset.