how to lock an object from editing in the inspector?

i remember a long time ago there was a lock icon in the transform to help protect against accidentally selecting and moving an object. now i can’t find it. any ideas where it is?

thanks

On the left hand side of the hierarchy you can toggle the eye and hand icons for each object to change whether an object is visible or selectable.