The phrases used by @refurb are commonly repeated phrases, but they are missing nuance.
Masks absolutely work, just ask any nurse who didn't catch COVID while working 12-hour shifts for weeks in a COVID ward. The issue like you said is the right type of mask, and wearing it properly.
Half the time people were wearing masks with their nose poking out, or under their chin. Even wearing it fully covering - if it isn't airtight, and you haven't pinched the wired nose connection removing the small gap, it still won't work.
Similar with vaccines, science isn't exact, so a statement made at the start of the pandemic is not going to be the same 12-18 months later. There were dozens of variants of COVID each with different levels of risk. A vaccine doesn't guarantee you won't catch the virus, but can minimise or reduce symptoms, reduce spread, prime your body with some antibodies for your body to start combating it sooner.
So it's easy to say someone "lied". But data changes. Also, you have to make statements for the general population (lowest common denominator), not people with an educated / scientific / medical background.
Vaccines, masks, social distancing are all part of the Swiss Cheese Model which will reduce risk, but not eliminate it.