Locks can keep things safe and/or beyond reach and often times allow access only if you have the key.