Key sig on a single staff vs all staves

Are you talking about the Score Editor?

If so, please tag your post. Here’s how

Assuming yes,
Activate the option Key Changes for the Entire Project in Score Settings
image