Lock doesn't work for groups in groups
How to reproduce the bug:
1. Create two shapes.
2. Group the two shapes
3. Create two new shapes.
4. Group the two new shapes
5. Select the two groups.
6. Group the two groups.
7. Now you have a parent group with two child groups.
8. Lock one of the child groups.
9. Select the parent group.
10. Now both child groups are selected and can be changed even the one that is locked should not be possible to alter.
Well, this is known to me and I even can't decide if this a bug.
Same happens not even for a nested group but any locked child object.
What do you expect? That first group moves while second stay? Thus breaking the appearance?
Well, it could be an option, but I also sometimes use current behaviour.
I would propose you to log a request to have an option to switch this, to keep both methods possible.