Most traditional pin tumbler locks can be rekeyed, but complex electronic or smart locks may require replacement rather than rekeying.