Child’s last name

I need info from anyone that may know. I live in Texas . My boyfriend is incarcerated so he won’t be there for the birth of our son. With that being said , will I still be able to give our son his last name or is it something that will have to be changed once my boyfriend gets out?