Gov. Kathy Hochul signed a bill Saturday designed to protect students and teachers in New York schools from extreme heat.