Percussion instrument change 1 line

In your case, I think you could put a dashed barline and set the dash length to zero in Engraving Options.

Here you are, in two parts.
1.

2


.