Child welfare agencies across the country rely on locked psychiatric facilities, many of which use punitive disciplinary tactics, to house difficult-to-place kids.