Why? wouldn't it just be a matter of activating a low-power mode and turning
off the screen? It's been said a long time that this is done by certain
malwares.
[1] https://beebom.com/how-find-lost-iphone-turned-off-erased/
[2] https://www.reddit.com/r/iOSBeta/comments/otcn02/iphone_rema...
All of the iPhone “off” features, like express transit cards and find my use dedicated low power hardware that seems to be capable of running the feature without an active CPU telling it what to do.