Overnight WDFTP failure locking computer

that sounds like a problem that is not related to this thread
I would try though putting tin foil around the plugs at each end of the USB cable
also make sure windows is not power down the usb (selective power setting…I do have a youtube video about that)