Method. Waits a specified time for the keyboard to be unlocked for a specified duration.
public boolean waitForKeyboardUnlock(long duration, long timeout)