In Windows 11, there is the option "Keyboard" -> "Show virtual keyboard if not physical keyboard is attached" in the system settings.
I would like to know how I could turn this setting on / top or get its status using an API or any other programmatic way.