Setup for Lock