Yes Lavender plants repel mosquitoes because the lavender plants put out a scent that although most humans love the smell of the lavender plants the mosquitoes hate the scent that lavender plants put out and they will stay away from areas where lavender plants are present.
Garlic plants as well as rosemary plants keep mosquitoes away as well.