Yes, using the Google account method or the Android Unlock tool, you can easily unlock your phone without losing data.