setKeyboardLocked(setErrorCode);
if (isKeyboardLocked() && unlockIfLocked) setKeyboardLocked(false); else setKeyboardLocked(lockKeyboard);
   protected void setPrehelpState(boolean setErrorCode) {      statusErrorCode = setErrorCode;      setKeyboardLocked(setErrorCode);      bufferedKeys = null;      keysBuffered = false;      setKBIndicatorOff();   }