As smartphones contain crucial data of users, it is important to protect the data and prevent misuse.