Window is most likely either a sticky regulator or a tired lift motor. Remove the door panel and lube all the moving parts, it may help to remove the regulator from the door so you can work the lube in better. Lube the window glass guides with baby powder or spray silicone, make sure they are not crimping the glass. Carefuly observe the window lifting with the door panel off to ensure the regulator is not out of adjustment. If it is still slow, it is most likely a tired lift motor. You can verify its currnet draw at the fuse with an ampmeter and compare it to the opposite window, or just replace the motor and hope you made a good geusse.
The door lock problem is common and well covered, it will most likely be the wiring harness in the trunk lid hinge or either a weak actuator or a sticky door latch. Pop the cover off the trunk lid hinge and look at the wires for cracks and the like, If the harness seem to be in good shape, careful watch the door locks when you lock the drivers door for one that seems to lag behind a bit, then repeat at the passenger door, unplug the slow one and see if it works properly.
Basicaly what happens is that if you lock a door, and an actuator does not travel far enough, the central locking will interpret its partial position as an unlock comand and unlock every thing.
Good luck