Added isLocked method for Android
Merge pull request #3451 from austenke/master

Added isLocked method for Android