Your description is a bit vague, but I suspect you might be talking about the doors locking on their own, seemingly at random. This happens from time to time. There is a solenoid which moves the lock up and down. If there is any binding, the solenoid will reverse direction to keep from burning itself up and such.
From what I've seen (since I've got similar issues), the only real solution is to pull the door cards, inspect all the linkages between the lock tab/button/thing-you-push/pull-to-lock/unlock-on-the-top-of-the-door, and lube where necessary. You might have to replace a solenoid (or disable the power locks altogether).