Car door lock [driver side] broken?

the car door lock doesnt lock or unlock when the door is open.

only way to lock the open door is to pull on the door handle, and then locking it

i can use a key to lock/unlock just fine.
when the door is closed, i can lock/unlock from the inside
Update: how do i fix it?
7 answers 7