Door Lock Operation

On a 1968 Dart, are the door locks only supposed to lock and unlock when the door is closed? If so, is there a mod that can be done to be able to lock and unlock the door when it's open?