Exactly, the key signature change option in Bar Settings only affects the key signature itself, so which accidentals you see in the Notation Window, and doesn't transpose the music.

You'd want to also enter the chords in A after bar 40, or enter them in C and use Edit - Transpose - Transpose From.. To.. (assuming you're using BIAB for Windows).

Thanks
Kent
PG Music