A corrections officer is safe and has been freed after being taken hostage by inmates at a maximum-security prison in Lee County.