Almost defo its the wire that runs from the back of the key barrel inside the door, into the door loom.

A new one is 10-20 quid.

They suffer water ingress and flick the doors from open to locked in a very random fashion.

Word of warning, make sure you route the new cable in the same fashion as the old one, or you risk breaking it when you wind your window down
