Help Motorola Droid Security Code Options

So I have a motorola droid running Android 2.2 Froyo. Anyway I have the grid setting where you have to draw a pattern to access my phone. Recently my roomate was trying to guess the pattern and after he missed it too many times, it did a full factory reset and bricked the phone. It took me an entire day to get it set back up and get service re-esablished on it. I've looked through the security options for a way to stop it from reseting if the pattern is missed too many times, but I can't find an option for that. Is there a way to turn this off so if the pattern or passcode is missed, my phone won't reset?