Windows 11 pro doesnt require an ms account, you can create a local account.
It always created local login; if you really wanted to join AD, you had to use this account to log in and join manually. Actually, pretty annoying, desktop Linuces are capable of AD join straight from the OOBE.