Its most likely that its a problem with the wiring for the locks. VWs are infamous for electrical problems. I have no clue as to what you could do to fix it short of calling a dealership and getting them to help. Good luck!
Forum Rules