iOS 11.4 to Disable USB Port After 7 Days: What It Means for Mobile Forensics
Why seven days? How about 24 hours?  Or even better if the device is locked I have to unlock it to use the port for anything besides charging (and it can then lock on its usual schedule)