Added isLocked method for Android