Disease spread can be affected by pharmaceutical interventions (such as vaccination) and non-pharmaceutical interventions (such as physical distancing, mask-wearing and contact tracing). Understanding the relationship between disease dynamics and human behaviour is a significant factor to controlling infections. In this work, we propose a compartmental epidemiological model for studying how the infection dynamics of COVID-19 evolves for people with different levels of social distancing, natural immunity and vaccine-induced immunity. Our model recreates the transmission dynamics of COVID-19 in Ontario up to December 2021. Our results indicate that people change their behaviour based on the disease dynamics and mitigation measures. Specifically, they adopt more protective behaviour when mandated social distancing measures are in effect, typically concurrent with a high number of infections. They reduce protective behaviour when vaccination coverage is high or when mandated contact reduction measures are relaxed, typically concurrent with a reduction of infections. We demonstrate that waning of infection and vaccine-induced immunity are important for reproducing disease transmission in autumn 2021.