To install Windows 11 without a Microsoft account, the easiest is to use Rufus to make a USB installer.
Alternatives that can be tried are, according to this page:
Hit Shift-F10 to reach a command prompt and then run the following command to create a local-only account:
start ms-cxh:localonly
or this:
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f shutdown /r /t 0
And more or less the same from Journal du Geek
Sur l’écran de sélection de région pendant l’OOBE, appuyez sur Maj + F10 pour ouvrir un invite de commandes, puis entrez :
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f
Ensuite, redémarrez votre machine avec la commande suivante : shutdown /r /t 0
Après le redémarrage, déconnectez-vous d’internet (Wi-Fi ou câble Ethernet), puis suivez l’assistant normalement : vous verrez apparaître le bouton “Je n’ai pas accès à internet”, suivi de “Continuer avec une configuration limitée”. Vous pouvez alors créer votre compte local classique, avec mot de passe et questions de sécurité.