lock clock codes

Change-Id: Ia1d043b19986a5927fe12ee492b5315423467b08