This is a question with answer options. Goal: How can we change and install the lock?

Which of the following methods is more reasonable for accomplishing this goal?

pick from the following.
-- Purchase your new lock, remove the deadbolt only, insert the new deadbolt nd leave the old dead lock on the door, then test the old deadlock to see if it works with the new deadbolt..
-- Purchase your new lock, remove the old lock and deadbolt, insert the new deadbolt first, then insert the new dead bolt lock then test the new lock.....I think the answer is
Purchase your new lock, remove the old lock and deadbolt, insert the new deadbolt first, then insert the new dead bolt lock then test the new lock.