1- Charge Micromax Q345 upto 70 percent.
2- Switch off device.
3- Press & Hold Power and Volume UP key.
4- As soon as Micromax logo appears, release Power key.
5- Android Logo with exclamation mark appear, press Power key to shift Recovery mode.
5- Select Wipe Data/Factory Reset using Volume down key & Press Volume UP to enter.
6- Select Yes-delete all user data using Volume down key & Press Volume UP to enter.
7- After wiping of data has been completed, it will ask to reboot system now.
8- Press Volume UP key to reboot.
9- Code or pattern has been reset.