fixed android lock tests
fixed jscs config
Merge pull request #3874 from sebv/android-is-locked

Fixed is Locked in android.