Factory Reset (Hard Reset) the Samsung Galaxy A40 (Tow methods). Put your Galaxy phone into Samsung Recovery Mode. Wipe the cache partition on the Samsung Galaxy A40. Soft reset your Galaxy A40. You can use this helpful guide to solve a lot of problems (Remove the forgotten pattern lock...