Key codes are often stamped on the original key or documented with lock installation paperwork.