A Maryland sheriff says a school resource officer engaged with the shooter at Great Mills High School on Tuesday morning and ended the threat.