Hello there,
No worries you can just clean install and your Windows will be activated as you have a digital license.
As Windows 10 is preinstalled you have a Digital license. A digital license (called a digital entitlement in Windows 11) is a method of activation in Windows 11 that doesn't require you to enter a product key.
If you associated or signed onto a Microsoft Account or associated your MSA with your digital license, that will be your MSA containing the digital license.
Reactivating Windows after a hardware change https:// support.microsoft.com/en-us/windows/reactivating-windows-after-a-hardware-change-2c0e962a-f04c-145b-6ead-fb3fc72b6665
Activate Windows https:// support.microsoft.com/en-us/windows/activate-windows-c39005d4-95ee-b91e-b399-2820fda32227
How to: Perform a Clean Install or Reinstall of Windows 10
https:// answers.microsoft.com/en-us/windows/forum/all/how-to-perform-a-clean-install-or-reinstall-of/bf72eda1-18f6-4839-9127-2b5389d9aa48
--------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer–