Global and local polarization of Lambda hyperon in O+O collisions at 200 GeV