1997 Daihatsu Atrai

I noticed something odd with the locks. The key does not lock or unlock the driver door. If I locked the driver door and close it, it unlocks. I have yet to find a way to lock all the doors, though locking the driver door from the inside and exiting from another door may.

What could the issue be?

by Big-Cream9352