MuseScore 3.5; Windows 10
Transposing a clarinet score from C to D, using Transpose by key. Done in As written mode it transposes the notes with accidentals instead of changing the key signature. Done in Concert Pitch it changes the key signature properly, after which it can be returned to As written mode. At least that was my experience.