Yep, it happened to me a lot with external monitors attached and one without anything attached. I am also scared that this happens during conferences or something important. I put everything one OneDrive now like Microsoft Office so that everything is immediately saved in case it does crash again. No one from Apple here is actually reading this here I guess?
My only hope is that since so many people deal with this issue (MacBook Air or Pro), it might only be the M1 macbooks and that it can be fixed with an update .. whenever that will happen.
It is seriously terrible customer service. People were telling me here before that I dont need to buy Apple products if I am that unhappy with it. Well, I was not. My old MacBook did not crash once in years. But obviously I am complaining when this happens with the new one and I even got a different one with which it also happens.
I called the support people before (in Germany) and they told me to put in on save mode to see if it is something I installed (yeah sure) and if it still happens, I can send it in and they will have a look at it. But it is probably not the hardware because so many people have this issue (I had two M1 macbooks and it happened with both). But maybe one should call and say that we know it happens to a lot of people and could hopefully be fixed with an update. Here, customer support acted like they have never heard of the issue