Place the key on its side with the tip of the key pointing to the right. Photograph the key on a plain background that allows the viewer to see the detail in key cuts.
After taking photo #1, flip the key over and photograph the other side of the key, again making sure that the cuts are visible.
Key codes are NEVER on the lock or associated with any numbers that may be found on the lock.