Fixed is Locked in android.

See https://github.com/appium/appium-adb/pull/50/files

Also removed sample code from jscs config.