Apple tests mode which locks USB access after 1 hr on iOS 12
Apple has unveiled a 'Restricted' mode for iOS 12 beta version that restricts accessories from connecting via USB after the iPhone has been locked for an hour. Users will require to unlock the phone with their passcode while connecting it to a USB accessory. Earlier, the Restricted mode limited the Lightning port to only charging after 7 days. 