The M1 chip's security is world-class. The only permanent ways to bypass the lock are through the or Apple’s official support . If you are buying a used M1 MacBook, always ensure the seller has signed out of iCloud and the device reaches the "Hello" setup screen before you hand over any money.
: Using unverified third-party software can lead to firmware corruption, potentially rendering the MacBook unusable ("bricked").
How to Bypass Activation Lock on an M1 MacBook: A Complete Guide