The main reason to set up some sort of lock screen security on your smartphone is to keep strangers (or friends) from checking out your messages or private pictures. Beyond that, you don’t want anyone who dares to steal your phone to get full access to your mails, pictures or other sensitive data. But what if you’re the one who cannot access your phone? You could forget your PIN or pattern, right? Or someone pranks you by setting up a lock screen pattern and just leaves you struggling with it.

In any case, there’s quite an easy solution to this without smashing your phone against a wall (or your friend’s face). The only thing you need is to have Android Device Manager enabled on your device (before you locked yourself out of your phone). If you have a Samsung phone, you can also unlock your phone using your Samsung account.
Forgot your Android lock screen pattern, PIN or password? Here’s what to do
I tested the following methods using a lock screen pattern, PIN and password and was able to unlock my LG G2 with Android 4.4.2 successfully.

Unlock your Android device using Android Device Manager (ADM)
As already mentioned, the following method only applies to devices that have Android Device Manager enabled.
1. On a computer or other mobile phone, visit: google.com/android/devicemanager
2. Sign in using your Google login details that you also used on your locked phone.
3. In the ADM interface, select the device you need to unlock (if it isn’t already selected).
4. Select ‘Lock’
5. In the appearing window, enter a temporary password. You don’t have to enter a recovery message. Now click ‘Lock’ again.
6. If it was successful, you should see a confirmation below the box with the buttons Ring, Lock and Erase.
7. On your phone you should now see a password field in which you should enter the temporary password. This should unlock your phone.
8. Now, before you go on with your life, go to your phone’s lock screen settings and disable the temporary password.
9. That’s it!

1. Enter a wrong lock screen pattern five times (shouldn’t be hard if you don’t remember the correct one)
2. Select ‘Forgot Pattern’
3. Now you should be able to enter a backup PIN or your Google account login.
4. Enter either your backup PIN or your Google login.
5. Your phone should now be unlocked.

Bypass your Samsung phone’s lock screen using its Find My Mobile tool
This is an easy way to unlock your Samsung device if you created a Samsung account and registered it beforehand.

1. Go to Samsung Find My Mobile.
2. Sign in using your Samsung login details.
3. In the Find My Mobile account interface you should see your registered phone on the left hand side. This tells you that you’re phone is registered to that account.
4. On the left sidebar, select ‘Unlock my screen’.
5. Now select ‘Unlock’ and wait for a few seconds for the process to finish.
6. You should get a notification window telling you that your screen is unlocked.
7. That’s it. Your phone should be unlocked.

Disable your lock screen using custom recovery and “Pattern Password Disable” (SD card needed)
This method is for more advanced Android users that know what the terms “rooting” and “custom recovery” mean. As the title says, for this to work you need any kind of custom recovery installed and your phone must have an SD card slot. Why the SD card? Well, we need to transfer a ZIP file to your phone and that’s usually not possible when it’s locked. The only way is to insert an SD card with the file.Unfortunately, card slots became kind of a rare thing in the smartphone world, so this will only work for some people.
Here’s what you need to do:
1. Download the Pattern Password Disable ZIP file on your computer and put it on an SD card.
2. Insert the SD card into your phone.
3. Reboot your phone into recovery.
4. Flash the ZIP file on your SD card.
5. Reboot.
6. Your phone should boot up without a locked screen. Should there be a password or gesture lock screen, don’t panic. Just type in a random password or gesture and your phone should unlock.

Erase your phone (and lock screen) using Android Device Manager
If all the methods above didn’t work out, you need to move on to more drastic measures. In case Android Device Manager is enabled on your phone and unlocking it didn’t work, you can use it to erase all data by selecting the Erase button. Be aware that this will delete all apps, settings and other data on your phone. The good thing is, once the erasing process is done, you can use your phone again (after setting everything up).

Reset your phone to factory settings
If Android Device Manager doesn’t work at all for you, your last resort is to make a factory reset on your device. On Nexus devices, this can be done in recovery mode, for example. Below, we take you through the reset process that work with Nexus devices. If you own a different Android phone, check out this site and look for your manufacturer’s support page.

How to perform a factory reset on your Nexus using recovery mode:
Important note: If your Nexus device is running Android 5.1 or higher, you’re required to enter a Google username and password associated with your device after the factory reset process finishes. This is a security measure to make sure that no stranger is reseting your phone or tablet. If you fail to enter that data, the phone won’t be usable anymore. Really make sure you know your Googel username and password.
No matter what version of Android you’re running, you need to have an internet connection and if you just changed your Google account password, you need to wait at least 72 hours before starting the reset process.
1. Turn off your device.
2. Press the volume down AND power button and keep pressing them. Your device will start up and boot into the bootloader (you should see “Start” and an Android lying on its back).
3. Press the volume down button to go through the different options until you see “Recovery Mode” (pressing volume down twice). Now press the power button to enter recovery mode.
4. You should see an Android on its back and a red exclamation mark.
5. Press and hold the power button, then press and release the volume up button. Now you should see “Android Recovery” written on the top together with some options.
6. By pressing the volume down button, go down the options until “Wipe data/factory reset” is selected. Press the power button to select this option.
7. Using the volume down button again, go down until “Yes – erase all user data” is selected. Make sure you read through the notes above and then, finally, press the power button to start the reset process.
8. Once the process is done, press the power button to select the reboot option. Your device will now reboot and start the inital setup process of your device. That’s it! All you need to do now is to set up everything and restore your data.
You can also check out Google’s official page and follow the instructions there.

As already mentioned earlier, be aware that reseting or erasing your device will delete all data like apps, settings, videos and pictures.