"Locals" would mean anyone living there, though, including immigrants. "Natives" implies people who were at least born there, and possibly the long-term traditional inhabitants of a place. "Native" is not a bad word.
Why's it important to distinguish though? It may not be an inherently bad word but given its use historically I'd still be wary of using it in the wrong context.