hello
how can i do that barre and also half-barre
You either misuse a piano pedal marking (see https://www.steinberg.net/forums/viewtopic.php?t=141247#p759628 for how to do this) or you wait for native guitar functionality, which is hopefully(!) coming in Dorico v3.