LockKeyboard

Used to lock or unlock the BlueZone session's keyboard.

If BlueZone is playing a script or macro, BlueZone auto-unlocks the keyboard when the script or macro completes. The LockKeyboard( False ) method is only needed to unlock the BlueZone keyboard when a process external to BlueZone has completed.
Parameters
LockVal
True or False
Returns
0 for success; or a non-zero error code. Refer to Error codes for a complete listing of error code descriptions.
Remarks
Setting to True locks the keyboard and setting it to False unlocks the keyboard.
Example
Set bzhao = CreateObject( "BZWhll.WhllObj" )
bzhao.Connect "A"
bzhao.LockKeyboard( False )
bzhao.MsgBox( "The keyboard has been unlocked! BlueZone is ready for your 
input.", 0 )