You absolutely do not have to leave note entry. Just apply the appropriate key command to flip the enharmonic. One catch is that Dorico provides the option to modify previous pitches based on context after you’ve input more notes. Lillie linked to it above, but since the link doesn’t seem to be working with the new documentation it’s here:
IIRC Dorico’s pitch spelling algorithm is proprietary but based on the PS13 algorithm. So sometimes Dorico will change things on the fly if you have that enabled. If I turn that off and use pitch-first MIDI input, it’s still easy to flip without leaving note entry. Gif below:
I am very new to Dorico, so thank you for your patience and help. Indeed this works. It depends on the note entry option settings, which I had not understood on the first run. It feels closer to Finale now
The online documentation system was changed earlier this year. You will find many old posts that reference dead links. However, it is surely not too difficult to copy the headline of the link and search the documentation?