Some default or 3rd-party aircraft may not fully simulate the TO CONFIG function yet.
Set up an improper config (e.g., flaps retracted, spoilers armed).
Press the TO CONFIG button.
You should get a Takeoff Configuration Not OK warning and details on what’s wrong.