attempting to integrate new lock graphic button to code