Compact Lorentz manifolds with local symmetry