Unlock type
Code: caps.setCapability("unlockType",pattern);
"Used to select a method of unlocking the device.If set to null, the Appium Settings App is used to unlock the device. For how to unlock via PIN or Pattern see: https://github.com/appium/appium-android-driver/blob/master/docs/UNLOCK.md"
Value: Pin / Password / Finger print / Pattern