Lock function values

I use the Graph Editors a LOT. I love them for easing etc. I wish I could lock the separate function elements Rotation or Skew or Scale or Position etc. I want to move a peg using the Transform and Animate tools and have some of those properties NOT receive new keyframes. If I want a bouncing ball, I’d prefer to just keyframe the y position and y scale. I’d like to lock all the other properties to make things look cleaner with fewer keyframes. I’m talking about a basic example here, but I have a lot of other more complex projects that would benefit from this. Thanks!