Hello, Kimia Toomani
Welcome to Microsoft Community.
You can create a new local account on your computer without linking it to a Microsoft account or setting a password by following these steps. This method works offline and is compatible with Windows 11. Just make sure that you put utilman.exe back in its original location afterwards.
Locked out of PC by Windows 10 - The fix is here! - Microsoft Community
If you still can't connect using this method, you might need to reinstall Windows using a USB key. This will allow you to choose whether or not to keep your files while being reinstalled. See this guide for detailed instructions:
How to install Windows from a Flash Drive | Microsoft Learn
Yuhao Li
Microsoft Community Technical Support