Poor bloke was probably a loader who was having a kip, awaiting last bags and his mates forgot him as there were no last bags. Someone should have checked the door and reported to the captain "All doors and hatches closed" as part of a normal pre start procedure. As others have already said, there should have been a door warning light. Things here just don't add up.