Example 1

Set the terminal so that the keyboard will be locked for no more than 10 seconds.
change.terminal control(10)