The agreement—which raises entry level teacher pay by $2,000 to $52,000—lasts through June 30, 2027.