Hi Mats,
in one older thread Separate voice unisons with accidentals Daniel wrote:
I didn’t found any global setting in Dorico 5. So the properties panel is your friend
You could otherwise choose another way: Notation Options/Voices/Allow noteheads to overlap: in this case Dorico shows only one accidental for the unison. (But it looks differently of course.)