Nope, it won't work.
The entire point of USB accessories being disabled until you enter your passcode was to prevent attacks that involve entering passcodes via USB to brute-force them.
All USB functions except charging are disabled. Even charging won't work if the phone detects that the device it's plugged into is a computer rather than just a charger.
[doublepost=1564368070][/doublepost]
Are you kidding me? It's a dollar a month for 50GB. They probably only charge that to keep people from abandoning accounts with a lot of data in them. I never understood people who choose such petty hills to die on.