Added unlock method for Android

Small fix