Carbonization of a biopolymer (lignin) in self-propagating high-temperature synthesis (SHS) led to the production of 2D graphene structures. With the help of modern analytical methods (Raman spectroscopy, X-ray diffraction) and electron microscopy, the resulting product was confirmed to have a few-layer 2D graphene structure. The predicted photovoltaic properties of the resulting few-layer graphene were implemented for laser ignition of a model pyrotechnic composition based on porous silicon. A phenomenological model of the formation mechanism of 2D graphene structures under the conditions of the SHS process is proposed.