I believe that would be a bad lock cylinder. IIRC, the driver's lock should mechanically lock and unlock with the key. Although, when I had a bad driver's door lock, it would lock electronically with the key (ie, the microswitch would trip and cause the door to lock anyways).
Does the key turn to the lock position? To the double lock position? Try disconnecting the battery to verify the mechanical operation of the lock too.