Vaccines don’t just prevent deadly and dangerous diseases like measles, polio and COVID-19. A new study found that people who got the shingles vaccine had a 20% lower risk of developing dementia.