You can turn off the automatic respelling of accidentals to prevent Dorico Pro from making retrospective changes to accidentals.
Procedure
- Press Ctrl/Cmd-Shift-I to open Note Input Options.
- In the category list, click MIDI Input.
- Deactivate Allow spelling of notes to be adjusted retrospectively.
- Click Apply, then Close.