Generalizations of teleparallel gravity and local Lorentz symmetry