Anti-locks and then no power just died. Complete loss of power while driving on 2002 Buick Regal

I was driving home from work and I was braking for a light the anti lock brakes happened for no reason. I drove a bit further and as I was turning for another light the anti locks happened, the light on the dash went crazy and then the car died. Complete loss of power in mid turn, but my flashers worked. I tried starting it about three times, and nothing. After about five minutes of panic it finally restarted.

Asked by for the 2002 Buick Regal