Prevent adding keyframes for locked properties

Hi,

Is there any way to prevent keyframes from being added for locked transform properties?

For example, if I set my keying set to LocRot, but lock my selected object’s location and Z rotation, I’d only want X and Y rotation saved when inserting keyframes.

Thanks!

You need to lock the z rotation channel in the graph editor


Ah got it, thanks Richard!

Is there any way to lock the channel across all actions?