Specialized Staff/Staves: 2-, 3-, 4-line staff?

You can do this by giving the same player multiple instruments, as many instruments as you need different numbers of staff lines, then inputting notes for the corresponding instruments. Dorico handles instrument changes automatically.