Like I said, WEIRD things happen when the alt's regulator isn't functioning normally. My car did similar when my alt was dying, and had other weird things happen on customers cars over the years when alt's are dying. After I replaced all those alt's.. back to normal, everything works, and no weird symptoms.
Forget the locks and windows for a moment and change the alt. If the windows and locks still don't work, get out of dsm's.
