New York Gov. Kathy Hochul says an agreement has been reached to end a work stoppage at state correctional facilities.