It sounds like a ground problem to me. I worked in an auto-glass shop about 25 years ago, and power window/lock grounding problems can be very tricky to find.
In our Dodges, the Door locks are wired to be always on, without regard to whether the key is on or not. Do you have a wiring diagram? Have you pulled the inner door panels off and had a good look and feel in there? When-they-don't-work is a good time to do some testing.
Keep us posted.