lock gameObjects Position

Is there a way to lock a gameObject position in the editor so that is can’t be accidentally selected and moved?

If you accidentally move a gameobject inside the Scene View, you can disable it while you´re working… clicking into the upper inspector´s check box…

That’s one way, but unfortunately the item I want to lock also contains the main camera so if I disable it, I can’t see my game.