Scotland and Wales brought in a ban on smacking in 2020 and 2022 respectively