Your comments

The virtual keyboard, but I guess this should be the same for an external hardware keyboard.
I do not understand the need for this option. This option is aready available in the iPad's general settings page and is applyed on iOS level (for all Apps). See: Settings > General > Auto-Lock, Passcode Lock and Restrictions.
Ok, thats what I am doing for the moment. But for other users it can be helpfull if an HTML, C# Class, C# Interface, ... template was already shipped with the App. Maybe I can send you some templates.