You can lock element using the Layers Panel. 

Select your element, then click on the Lock icon in the lower left corner. 

Did this answer your question?