How do I get into my Samsung S4 without going back to factory mode?

A

AC Question

I had the pattern password entry into my Samsung S4 but my friend entered it wrong to many times and now it is asking me to put in a pin number that I don't remember. How do I access my phone without resetting it to factory mode?