"place=locality" is used if location is uninhabited. In this case your edit is wrong. I encourage you to read the wiki pages of both "locality" and "suburb".

https://wiki.openstreetmap.org/wiki/Tag:place%3Dlocality
https://wiki.openstreetmap.org/wiki/Tag:place%3Dsuburb