As explained so many times on the forum and on the manual, GSX DOES NOT control any the airplane doors. If you see a door closing/opening without your intervention, it must be caused by a 3rd party airplane that is controlling its own doors when interacting with GSX, and for some reason it has failed to properly detect GSX wasn't finished loading cargo.