Actually, as long as the other person involved (usually the biological mother, though it can be a grandparent or whoever is the legal guardian) agrees to it, the father can legally give up his parental rights (which includes any obligations, but also means the father can not visit the child either).