Freeze the selected object, preventing it from being selected and prohibiting changes to the transform values