Making me wonder if there is a short in a wire in one of the inner door boots, could be a split causing havoc with the elec window/lock circuit, seems to link into the other fault you have, there is no control unit as such for the locks etc... as there is no CAN network or anything so its probably going to be a simple fault such as a faulty lock switch or issues with the window switches/circuit, but check all the wiring where it enters the door from the pillar under the boot, i had a similar issue with rear windows which was caused by a small split in a wire on the rear window circuit, causing it to go +to ground