Totally agree. Maybe they should be hidden completely when locked.
Maybe hidden along with the extraneous three dots as @AndersDeleuran has raised (Regression: Hide Container Grip Dots When Docked) that would be a huge visual improvement and less wasted space.
Unlock from right click anywhere on the panel or globally in preferences to edit as needed.