The option is in the software for the Mavic Pro, so I'm assuming the same option exists with the Inspire 2. I don't believe you can map one of the C buttons to the lights, but you SHOULD be able to disable them in software. The reason being that the glow from the lights can interfere with night photography - especially long exposures. So the option exists to disable them.
Hello, that option is found in the DJI GO4 App, in the drone settings, in the App, you can choose the option to disable the front led lights permanently, or that they turn off when taking a photo or video . Good luck..!