I love Clear Animation, it's awesome.
But with the mantis shrimp update I'm finding a usecase for locking some layers, so we can have a cycling opacity/drift on a layer that is extra to the global lineboil/noise settings. (love those too)
Unless there is a way I don't know yet, I use markers to warn against clearing anim. But even I sometimes forget and then I find out I deleted my cycle (esp Clear Animation From Document) ((has anyone written a script for this))

I save it in an action, that's my workaround, so it's easily retrievable, but I would love to lock a layer
Yours lovingly..