I have the same issue, and what weird is, that it reboots 4-8 seconds, only after entering PIN.
I cannot enable USB debugging, because the MIUI 13 has a "nice" feature: OK button has a 10 seconds long countdown before it would be clickable. But phone restarts earlier, even in Safe Mode. I would...