Apple has introduced a new security feature in iOS 18, which reboots unlocked iPhones, making it harder for suspects to hack into the phones.