That was happening on my 12.9, 2 betas ago. It stopped on the last beta and hasn’t happened so far on the GM. I was able to just power it off, then on again, without having to actually restart it.
The keyboard still fails to work, but starts working again with a simple power on and off, not a restart.