Hmmm, second time in a week my M1 MacBook Pro has frozen and restarted itself while I was writing in Apple Mail. All standard up-to-date release versions of software.