Modern Family star Sarah Hyland secured a restraining order against her 24-year-old ex boyfriend Matthew Prokop this past week, ET confirms.