yes you can change the line to
Code
<equip when="precast" set="Buff"/>
It doesn't lock your gear, it just puts the mid cast set on before the songs starts. Your aftercast|Idle set will still come on after the spell resolves if thats how you wrote your spellcast.