keys are used to open locks