Changed lock reference