Hi Sasha,
I am Sumit here to assist you with this question.
There are two options.
Perform a PC Reset and choose to Clear everything. This deletes everything on the computer so that you can safely donate or sell it.
How to Reset Windows 11
https://answers.microsoft.com/en-us/windows/for...
Open Start menu>Settings app.
Go to System>Recovery options at the end.
Under Recovery options, click Reset PC.
Choose Clear everything when prompted.
Another option is a full reinstall using USB drive.
Clean Install Windows 11
https://www.yourwindowsguide.com/2021/09/clean-...
Hope that helps.
Content on the above blog is written by a Windows MVP so it is safe. However, do watch out for the ads.