Do you have an original Windows 10 install disc/usb. Otherwise, you should be able to do a reinstall from the Windows Recovery Environment (WinRE).
https://docs.microsoft.com/en-us/wi...-environment--windows-re--technical-reference To reinstall/ reset go to Troubleshoot>Reset the PC in the WinRE.
https://www.groovypost.com/howto/reinstall-windows-10-without-usb-dvd-recovery-media/ You will be given the choice of 1) Just remove my files or 2) Fully clean the drive. Either choice will remove All personal files and user accounts, Any apps and programs that did not come with the PC, and Any changes made to the settings since it was originally installed. The difference is #2 takes much longer, and is primarily for those that do not want a third party recovering information/ personal that have been written over but are still recoverable. #1 will probably work fine, as you are keeping the PC so any attempted to recover deleted/ written over data will be at your discretion. Either way, Windows 10 will use Windows 10 install files in a hidden partition on your hard drive, stored there for this very occasion; keep on mind however it will be the older version of Windows 10 that was originally installed on your computer. After the install is complete you can, can either reload you personal personal data and apps, or make a a Windows 10 install USB with the most current version of Windows 10 and do a clean install before you reload your personal data and apps.