You can use a trigger when the ignition is beeing turned off or even better when the alarm/ultrasonic sensor are on to lock the windows. Lets say the trigger power the "up buttons" for about 10 seconds everytime you lock the car.
Its a easy circuit to make using a 555 timer IC or a PIC/Arduino...