You can lock element using the Layers Panel.ย Select your element, then click on the Lock icon in the lower left corner.ย