Merge "Disable changing lock when device is not provisioned."