I don’t know why. I lock objects that are background elements. I never lock objects on the foreground.
I don’t know why you gave the blue square a z-order higher than your main object.
If you want to convince the devs to revert that change, you should provide a good example demonstrating your point.
I haven’t used GDevelop recently, so I haven’t made my mind up about whether I like this change.