Automatic door lock issue

A friend of mine has a 1999 Lexus LS400.

Recently the door locks started locking and unlocking by themselves after having unlocking the car. Sometimes the back driver’s side window will go down also. Sometimes the lock issue will happen while driving. Any clues as to what may be causing this? Thanks in advance.

The lock issue may be due to a lost programmed procedure or a bad relay (perhaps even a short).

Try reprogramming the power door locking code and see if that works.

I don’t know what to say about the window.