go to iCloud.com and erase the Mac then delete it from your account and then long press on power button for of the MacBook with M1 chip to get to reinstall the os
Topic:
App & System Services
SubTopic:
Core OS
Tags: