SAMSUNG Galaxy On5 Hard Reset to Unlock Pattern

In next step Press and hold together: Volume Up + Home + Power button.
When the Samsung Logo appears, release the keys
Then Conform "wipe data / factory reset" using Volume Keys to navigate and Power Key to confirm.
Select "Yes -- delete all user data" to confirm the process.
Then select option "reboot system now".
You have done. Thanks!