The easy way is to press shift + f10 which should bring up the CMD terminal. From there type OOBE\BYPASSNRO and press enter, it’ll restart the computer and give you an option when going through the steps to say you don’t have internet connection and will use a “local” account instead.
Note
Tested when installing Windows 11.