I finally got a chance to take a look at your module. Very nifty.
One suggestion would be to add functionality so that any parameter that is accidentally modified jumps back to the parameter that was set prior to the layer being locked. I imagine this is a ton of work and perhaps very intensive. But still very useful if only for locking basic things that generally have a very visible result such as speed, scale and colors.
As always, nice work with your modules. Fine additions to the public library section.