Both would be correct, but would have different meanings. When you say "in junior high school," it means within the junior high school system. When you say "at junior high school," you are referring to a specific location (i.e., at that building). In general, "in" for place means "within" whereas "at" is a very specific place.