Answer to your problem galaxy s
1. Call yourself from another phone, answer, without hanging up press the home button, then menu button, settings, try to disable pattern-lock
2. Call yourself from another phone, answer, hang-up, directly after hanging up start pressing your buttons like a madman for <30-60 seconds ending with your home button (might take a while to get the timing right). Go into settings and disable pattern-lock.