I am trying to do this action as you see on the image, and i would like to add something like:
if track is not locked, make it it locked and add "[locked]" at the end of the tracks name
otherwize unlock it and remove "[locked]" from tracks name.
Thank you for any tip!