I sold my laptop and would like to reset it so that only windows 10 remains on the laptop, so all files and the like should be gone.
https://tipps.computerbild.de/software/windows/windows-10-auf-werkseinstellung-zuruecksetzen-275631.html
You can do this in the settings. I don't know where.
Settings update / security and then recovery