Locking is useful when you need to prevent a layer from being moved or transformed unintentionally. Editing of layer content is still possible.
Select Lock again to allow the layer content to be transformed again.