As a general rule, the mother might have the custody of the kids, but you have not give up the parental rights, then she definitely needs your consent to change the kid's last name.
If you have already given up all your parental rights, and the kid has been adopted by his step-father formally, then you have no say in this matter.