How do locksmiths make keys without an original key?

Locksmiths have the ability to make keys without an original key by using a specialized tool called a key code machine.

This machine allows us to accurately replicate the unique code of a key, allowing us to create a new key that will work just like the original.