Reset MacBook password
For unlocking your MacBook after forgetting your password, various methods are available depending on whether the device is enrolled in MDM, linked to an Apple account, or completely unassociated, with the last resort being a full reset that will erase all data.