I think the only alternative you have to get into the truck is to break a window.. The suggestion to pull the hinge pins might work, however, I doubt it. As a rule you will need a special pin removal tool to get the pins out. If you are able to get the pins out, I don't think the door will pivot out of the opening.
Many years ago, like in the mid '60's, my wife drove my '36 Ford to the newly opened shopping center. She locked the passenger side door when our son got out of the car. Not thinking, being use to newer cars, she pulled the handle up on the drivers door to the lock position and closed the door. The door should not have remained locked when the door was closed, through a fluke, the door locked. The door key would not unlock the door because the interior handle was in the lock position in lieu of being locked with the key.. Two different functions.
Of course several men came to the ladies aid, all of which wanted to break a window. My wife would not let them break a window in the car because she knew that all of the glass was original to the car.. My wife found a pay phone and called me, I grabbed some tools and went to the shopping center. By the time I got there quite a crowd had gathered around the car.
After accessing the situation I got an axle jack out of my truck, I jacked the Ford up enough so I could git under it, I then carefully removed the floor pan bolts from the bottom, unscrewing them back into the interior of the car.. I was then able to push the floor pan up enough to get a coat hanger onto the drivers door handle, pulling it down to unlock the door..
Of course I did not have much difficulty removing the floor pan bolts (1/4x20) because during the years prior to this event I had blown five transmissions out of the car drag racing, the last one only a couple of years prior to the locked door event.