One way would be to make a "Kugelblitz". It works by concentrating a huge amount of energy in a very small space. Because of E=mc2, concentrating energy does the same thing as concentrating mass, and could create a black hole from which even the photons that created it can't escape, at least in theory.
In practice, probably impossible, or at least well beyond our current technological capabilities.
In practice, probably impossible, or at least well beyond our current technological capabilities.