Force Accidental (only flats & sharps)
Forces the display of the accidental for the selected note(s). Natural notes will not have the natural accidental shown.
Change how accidentals appear in a score in Logic Pro — Apple Support
Choose Functions > Note Attributes > Accidentals from the Score Editor menu bar, then choose one of the following display options: