Alternatively you can buy a re keying kit for the lock you already have.
How to replace a door lock without a key.
Once you have the kit remove the lock cylinder from the door knob so you can change the pins inside.
If you are able to gain access to the interior of the room through a window or some other means this is usually the easiest way to remove the lock.
Since most homes have multiple doors with multiple locks re keying can get expensive.
Locksmiths typically charge a fee to re key an individual lock even when you bring it to their shop.
Re keying kits are available for most lock brands but they re not interchangeable.
Next put a new latch in and replace the door knob.
Many homeowners have old doors somewhere in the house that they no longer have the keys for.
If you want to pick a lock in order to unlock a door without a lock you will need some basic lock picking tools.
To change the lock on a regular door knob first use a screwdriver to remove the door knob and the old latch.