Accidentally locked himself in? How is that possible?
He fell asleep, and they locked the container and put it on the ship.