Metalworking makes keys portable while locks, gates, guards, and fortified buildings create layered security.