I have heard that there is a bug causing iPhones in police possession to reboot and go into an encrypted state and honestly that should be a feature instead of a bug and to disable the feature should require a reboot. That way, if the police try to turn off the feature, they have to reboot the device anyway.
GrapheneOS has this feature: auto reboot 😊
Is it just a simple auto reboot after X amount of time? Or is it like an auto reboot if the screen has not been unlocked for X hours?
Not sure, but I think it's when the phohe is X hours locked. I have never experienced an unattended restart, when I was using my phone.
Apparently, this may not actually be a bug. And if that's the case, that is fucking fantastic. Now, the only thing that would be needed would be a timer that said that if the screen had not been unlocked for the past 16 hours or something, it would automatically reboot.
It turned out this appears to be an actual feature in the latest iOS based on reverse engineering. However, older outdated devices are rebooting as well (according to a law enforcement document) and that potentially could be caused by other factors.