The Nun movies are actually prequels to The Conjuring series. While The Nun and its sequel take part in the 1950s, The Conjuring is set in the 1970s. Valak torments a young nun throughout the series, and it's only when Lorraine encounters Valak two decades after that we see the demon defeated.