Added unlock method for Android