In R5.78 track height locking was added.
SWS actions manipulating track height should leave tracks with locked height untouched too I think.
So far came up these actions in the pre forum which 'broke' in this regard:
- Xenakios/SWS: Set selected tracks heights to A/B
- SWS: Vertical zoom to selected tracks (and the variants of it)
No API currently to Get/Set track height locked state (afaik) but seems it would be possible via chunk parsing at least (In TRACK chunk, (newly introduced ?) 3rd field in the TRACKHEIGHT entry seems to indicate height locked state).