Has anyone ever banned there child's father from the hospital?

Alexis • Walk by faith & Not by sight 💕 22 ; Pregnant with First Child 👶🏾
After 5 years me and my child's father are no longer together. He told me I should lose my baby and I haven't heard from him since I was about 3 months. At this point I'm not even sure if I'm going to give my daughter his last name . I've also thought about telling the nurses not to let him in when the baby is born . Has anyone else ever done this ?