There are a few things you can do to lock a layer in Gimp. First, select the layer you want to lock and press the Lock button. Second, use the arrow keys to move the layer around so that it is completely locked. Finally, use the up and down arrow keys to change the opacity of the layer.