It appears that is not necessarily the case[1]:
> In July 2021, following multiple large public events in a Barnstable County, Massachusetts, town, 469 COVID-19 cases were identified among Massachusetts residents who had traveled to the town during July 3–17; 346 (74%) occurred in fully vaccinated persons. Testing identified the Delta variant in 90% of specimens from 133 patients. Cycle threshold values were similar among specimens from patients who were fully vaccinated and those who were not.
Certainly, the experience in Israel and the debate in the UK at the moment over more lockdowns would indicate that even very high levels of immunity (from either vaccination or infection) do not necessarily correspond with an easing of restrictions.
[1] https://www.cdc.gov/mmwr/volumes/70/wr/mm7031e2.htm?s_cid=mm...