Hi, it might not be a bug but it sure seems weird to me.
Here is my layout, all elements have constraints applied to them except the main container and the content.
When I lock the children and resize the Inside container the behavior is exactly as intended. The content isn't affected while the Outline is keeping the same size as the Inside container and the Gradient width is resizing to match and the position at the bottom is maintained. Perfect !
Now, if I resize the Main container, the Content is resized as if the children weren’t locked.
My test file is attached 😊
cascading-constraints-test.afdesign