Any citizen, terrorist or nut case with a 3D printer can create an unregistered (ghost) gun. The picture below shows the components of a gun prior to assembly. (Wired Magazine, August 2015)
The keys below fit “restricted keyways”. They are distributed to only those few people who are approved for access to whatever lies behind a matching locked entry. (Wired newsletter, August 4, 2015)
https://keysforge.com/ has an app that generates a CAD model of a key blank from a single picture of a lock. The generated key can be modeled by the 3D printer in either plastic or metal.