...
Authenticating to install an app, change a setting, etc.
Logging back in after locking, shutting down, or restarting the computer
Logging back in after your computer goes to sleep or the lid is closed
After shutting down the computer or choosing Log Out from the Apple menu, you will need to sign in with a network connection using the “first sign in” steps listed above.
...
Local Login
For enhanced security, your Mac requires a connection to the internet in order to log in with your account. If you do not have access to a network, you’ll see the message “Your Mac is not connected to a network. Try using local login.” You can use the following steps to log in without network access.
...