When I unselect an element and select it again (or reload the editor), I notice that the lock is enabled again.
When I disable padding lock, I expect this to be a persistent setting.
When I disable aspect ratio lock, I expect this to be a persistent setting.

_Do not alter or remove anything below. The following sections will be managed by moderators only._
/cc @miina
I wonder if this is something that should this be persistent between reloads as well e.g. as in #825? Or would this be per element persistent until the editor is reloaded?
I think the padding specifically is more of a function of the current values. If horizontal === vertical, then the initial state of the lock should be on. Otherwise, it should be off.
/cc @pbakaus it looks like my suggestion was a bad one. What do we want then here? Do we want lock state to be persisted in the data model? Or just always start on/off?
@dvoytenko just for posterity, the answer is we persist.
@pbakaus @dvoytenko We need to confirm the behavior when multiple elements selected.
When we have multiple element selected with different lock ratio value, we assume it as true and based on that calculate the size and padding.
@dvoytenko suggested that we need to have separate calculation on each element lock ratio value.
My question is if we need to separate the each calculation based on each element lock ratio for size and padding. And in that case what would be the status of lock ratio toggle?
Should it be disabled status?
/cc @samitron7
@dvoytenko suggested that we need to have separate calculation on each element lock ratio value.
I also chimed in on the other thread and for posterity: I think both options are very possible. But I actually leaning toward your initial intuition now, and use the common lock ratio. What's most important though: whichever way we go, we should stay consistent. So, assuming a multiple selection with different lock rations and changing the width, I see two options:
This way we preserve the consistency. The width, height, and lock are all as they were last updated.
And again, I'm leaning to the second option at this time.
Most helpful comment
I think the padding specifically is more of a function of the current values. If
horizontal === vertical, then the initial state of the lock should be on. Otherwise, it should be off.