Select Objects in Layer selects locked objects
Objects that are locked within a layer get selected when selecting everything in a layer. Instead of selecting everything in the layer except the locked items.
Win 7, Ai CC 23.0.3

-
Intuos commented
In Version 26.0.3, this is very annoying. There is no visual clue that locked nested layers are selected, until you manipulate them. They should not be selected in the first place! There are too many bugs in the latest releases!
-
Margie Laberdee commented
This is happening with text, and a basic rectangle also. The object should be locked and/or not visible, yet when the layer is selected, all objects including the locked and hidden objects become selected and move when they should not.
(Illustrator 26.0.1 / OS Catalina 10.15.7)
-
Lisa commented
doesn't have to be a compound path - it happens with a simple square, too.
-
Amazing, you are right. The object have to be compound path though, just checked.