Menuet Da Capo

How to achieve this in Dorico - normal Menuet - Trio - Menuet repeat stucture? And needless to say, how to make it work in playback?

Repeat markers and jumps are in the right panel, or on the Shift-R popover. Select something at the end of the Trio and type Shift-R dc Enter and select something at the end of the Minuet and type Shift-R fine Enter. You’ll need to use System Text if you want to actually label the sections. Playback should happen automatically.

See Repeats popover for alternative syntax

This should be an at least moderately helpful touch point for repeat structures of various kinds and playback, with some more specific links at the bottom.