What did locking the taxi doors do? Can’t a passenger still open the door?
Perhaps a taxi has door locks like for kids in the back seat.
Maybe to keep the fare until paid, maybe for safety of driver or passenger or others, or other reasons.
A good option to have, I would think.