The department locked up one person for a year and a half before they were released, according to a report from the Commonwealth Ombudsman.