Coatings obtained by spraying materials with a high-temperature gas jet onto a substrate followed by thermal treatment of the deposited materials (thermal gas coatings) are increasingly being used. The practical experience of using thermal spray coatings, accumulated over the past 20–30 years in industries, shows that in this way it is possible, as a rule, to reduce the wear of machine parts operating under various conditions by a factor of 2–5. The effectiveness of the technology has also been proven in the protection of products from corrosion and thermal damage. The efficiency of the applied materials is determined by their structure, which largely depends on the choice of the composition of the material, the method, and modes of application. A comprehensive solution to these issues with the study of the mechanism of the processes of formation of thermal gas coatings will create a scientific basis for the technology for its successful implementation in production. At the same time, the importance of studying the processes and optimizing the technological parameters of spraying and subsequent coating treatment increases. Optimization is carried out, as a rule, according to the results of experiments. Let us consider the study on the example of the development of wear-resistant composite coatings with solid lubricant inclusions with the substantiation of the technique and criteria for optimizing technological parameters taking into account the most important properties of sprayed protective coatings.