A former music teacher who had the baby of a 13-year-old boy she was sexually abusing will be able to spend time with the infant in jail.