Didn't know a rocky planet in the habitable zone of a red dwarf could retain atmosphere against intense stellar stripping.
Red dwarfs are known to be cooler (the habitable zone is therefore closer) and unstable.
I don't think LHS 1140b is "Earth-like" at all. Rather, it's more like a mini-Neptune, being boiled off by its star.
Edit: JWST emission spectroscopy of LHS 1140b as it passes behind its star rules out a mini-Neptune. https://arxiv.org/abs/2406.15136