I have had this issue. Front driver and passenger doors occasionally still give me problems, but not as bad as the rear hatch/rear window control with key.
I don't know what I did, but the problem resolved itself after a week or so, at least in the cabin doors....possibly indicating a loose part had temporarily jammed the lock mechanism.
Rear hatch I still have to wiggle to get it to open/close the window, some days are worse than others