I have one textbox in whole suite where, It works only when I disable Hardware>Connect Hardware Keyboard manually while executing test. Otherwise I could not sendkeys to the textbox. Need help

I need any code snippet which could disable the setting for one test case.