You can take a global symmetry and promote it to a local gauge symmetry by introducing an appropriate gauge field and upgrading the partial derivative to a covariant derivative. The photon field arises from global $U(1)$ symmetry, the gluon field from $SU(3)$ and even gravity shows up this way (though it's more elaborate since the symmetry group of general coordinate transformations is infinite and compact, differently from your usual $SU(N)$).
What gauge field do I get from Lorentz symmetry?