I can't answer your question directly but we disable steps using Dynamic Property Task and setting the DisableStep property to 1. For our purposes we use a table that switches items on or off, the task queries this table and sets the disable step accordingly.