How to unlock my Iphone 4 without losing data?

I forgot the passcode on my Iphone 4. The Iphone 4 is updated to iOS 7.Is there any way I can unlock it WITHOUT LOSING my data?

Back up your data

You may lose some data doing this:

Do you have a backup? If you do, follow these steps:

Connect to pc

Put iphone in recovery mode (http://www.google.com/url?q=http://www.youtube.com/watch%3Fv%3Drm2D7-PCTaw&sa=U&ei=u-CsUs-9Kcb50gW6-YDACg&ved=0CA0QtwIwAQ&usg=AFQjCNEgO2_CdXOVcGawWs0xrYMENj-p5g)

Then goto itunes and press "restore" this will delete everything off your device and re-install ios

Once the whole download and install has completed, set up your phone, then you will get to a point on the phone where it says "would you like to restore from a back-up", then if your latest back up was from icloud, press icloud. If your latest back up was from itunes then select set up as new phone. Once its set up and you can use your phone, go back to itunes, and click summery, then click "restore from backup" then select the latest backup and wait, then you will have the data from the latest back up you made

If none of the other answers help, you can try http://unlock-4.me as it helped me when I locked up my iPhone 5, it worked really well and all my data stayed as is! I gave them a nice donation also!