Hello Per,
all locos should have assigned the same symbol (three dots as triangle) to function 0 of the decoder in the loco-database.
Then you can build a "lok-id 0" profile, with id 0 special-function No 11 (three dots) off , an another profile with special-function No 11 on.
best regards
Frank