School resource officer retires after 37 years