Usually you can get the lock unstuck, but you'll want two people.
Position one person on the outside. They need to push the door into the body as far as possible. Position the other person on the inside. While the person outside is pushing, the inside person needs to unlock the door by hand.
This works on ZJs as well. Obviously it won't help if the lock rod has somehow wedged itself against part of the door frame, but if it's just the mechanism acting up, I've used it successfully a dozen times.
If you absolutely can't come up with a helper, it's possible but nowhere near as easy to do it yourself by grabbing the armrest with one hand and doing the lock with the other.