Chosen Solution
I have a MacBook Air (M1) model and the localadmin account is locked. This account is the only one on the computer with admin rights. It does have a teacher (mobile) account and the teacher can sign in. It is connected to an AD server. This computer is running Big Sur and was not upgrade from a previous macOS. I did restart computer and tried SMC which it didn’t work. I tried to invoke Recovery and that didn’t work either. I did wait the 24 hour period and it is still local admin account is still locked.
Is it have MDM like Jamf or Apple Business Manager? If it does, that’s a setting that can be enabled. On a normal Mac me or you would buy retail (which will not be managed, it’s added after the fact) the account will not lock this way - M1 might stop you for 5 minutes and go up until you have to on an M1 but Intel Macs permit unlimited chances. If you see “profiles” in System Preferences, then it’s managed. If nothing works, the password needs to be reset by IT - especially with MDM. I mention this because you said you work for a school district. A lot of MDM solutions “escrow” the FileVault key, so you need to call for this 99% of the time. If it isn’t managed or all else fails, use Terminal: Apple silicon: Press and hold the power button until you see the startup optionsClick Options. Let the Mac boot - no intervention is needed.The Mac will ask for a known user account that’s an admin. If you know none select forgot all passwords.It may ask for an Apple ID. Any good MDM allows you to force sign out and remove activation lock if needed. Hopefully it was blocked.Click on Utilities at the top bar and find TerminalEnter resetpassword and press ReturnIf required enter the FileVault key. Again any good MDM “escrows” this.Reset the password and the machine should be good to go.NOTE: You may have to reset the user’s password as well. Make it easy and force a reset in Jamf before handing it back.Intel:Shut down the Mac and press Commnd+R together before turning the system on, and then press and release the power button. Keep holding until you see MacOS Recovery start.If it asks for an admin, select Forgot all passwords. T2 Macs can activation lock, but they tend to go to the utility options - but yes, it can sometimes be an issue here as well.Click on Utilities at the top bar and find Terminal.Enter resetpassword and press ReturnIf required enter the FileVault key. Again any good MDM “escrows” this.Reset the password and the machine should be good to go.NOTE: You may have to reset the user’s password as well. Make it easy and force a reset in Jamf before handing it back.
Most often, it is best to contact support or the administration right away. Otherwise, the issue with blocking will not be resolved in any way.
If you’ve been using your Mac for a long time, there are probably a lot of programs on it that you don’t need anymore. Uninstall them - it’s easy to reinstall them if you need to. I found some handy tips on the Internet, and it said to select the programs that have been sitting around for a long time and uninstall them. By default, macOS just moves apps to the trash, but they can leave behind settings files and other junk. It doesn’t take up much space, but you can get rid of it, too, if you use App Cleaner to remove it.