Driver side door lock won't open with the key. on 1993 Dodge Spirit

Every once in a while I will try to open the door (driver side) with the key and it will open. If I pulled the handle on the inside the door opens fine.

Asked by for the 1993 Dodge Spirit
Maybe squirt some WD-40 into the lock to see if it will free it up