This probably isn't specific to Avalons, but here goes.
I have a 99 Avalon XLS and my car does should not have automatic door locking function for in gear/motion. For some reason a couple days ago, my driver door lock stopped unlocking the rest of the doors. I think there may be a short, loose connection, or maybe it's just stuck in the lock position. This is causing the car to lock itself at random.
Last night my wife woke me up at 4 AM telling me that my alarm was going off. So I go outside, unlock the car, and it turns off. Then it locks itself twice and triggers the alarm again. So as a frustrated and tired temporary solution, I just ripped out the horn fuses and went back to bed.
Any ideas on what's causing this and how I can fix it?