Write accidentals valid only for the next note? like in atonal music?

I try to crate flashcards with triad and I want to know if it is possible to write accidentals valid only for the next note? like in atonal music? I tried to remove all possible cautionary Accidentals in Notation options, without the needed result.
I don’t want this
alterations

Dup

Yes, Notation Options—Accidentals, Modernist.

well done! Thanks