iOS 11.4.1 has been released into beta on friday
This version includes a new restriction for Disabling “USB Restricted mode” (for supervised devices only)
USB Restricted Mode was implemented with iOS 11.4 and automatically disables access to lightning port 7 days after device was last unlocked.
With this restriction it is possible to disable this functionality.
More information about USB Restricted mode below: