I don't know if this is possible, but I wish there was an option to set the USB-C port so that it can only charge while locked, and when unlocked it will prompt to allow non-charging usage. That way, if my phone is unlocked and I plug in what I think is a charge cable. only to find it is something maliscious, I can reject the access. On the other hand, if I plug into my computer, I get the same prompt, which I allow.