Locking Down the Graph Editor

Hello everyone!

I've created a camera move and tweaked it repeatedly to get the movement I want through my scene. Now I intend to make several render passes and composite outside maya. How can I lock down the animation curves for the camera and other moving objects in the graph editor?

I know that I can lock down the rotate, translate, scale and visibility attributes in the channel box. This grays out their manipulation handles but when I go to the graph editor, I can still move their keys around.

Is it possible to lock down animation curves in the graph editor?

Thanks

Attribute and curve that drives it are two different things. So it's natural that locking the attribute does not lock the curve.

To lock the curve you must invoke setAttr -lock true on keyTimeValue array attribute in the animCurve node.