What is causing the locks and rear windowhatch in your 1998 Chevy blazer to lock and unlock themselves when the car in running as well as when it is off?

If the locks and rear window hatch on a 1998 Chevy Blazer lock and unlock by themselves, there is probably a problem with the fuse or a short somewhere. The locks are supposed to lock when the vehicle gets put in gear. Perhaps the system that tells the locks when to lock is not working properly.