By design, you need a Microsoft account to install windows 11, especially for Home edition. However, you may install Windows 11 by creating a local account without a Microsoft account. This is workaround.
For Windows 11 home, disable the network connection by unplugging the network cable or turn off WiFi off when you are in “Let’s add your Microsoft account” page
Then click the Back button from the top-left corner. I will have an option to create a local account.
For Windows 11 pro, click on Sign-in option when you are in “Let’s add your Microsoft account” page.
Click on the “Offline account” option.
Click Skip for now when you are in “What is a Microsoft account?” page.
Enter your local account username in “Who’s going to use this device?”