Door locks can they be realigned to a key?

Drivers door lock started becoming a bit notchy today and my passenger one never worked since someone rammed a screw driver into it. If I get a replacement passenger door lock, can this be re-jigged to my master key,as I don't want another key!