Teen in custody until age 21 for school cafeteria shooting