I recently got a used iPhone from a friend, but they forgot to remove the passcode on the device. I've tried several combinations without success, and I don't want to risk losing any data that might be stored on the phone. I've heard that there's a way to unlock an iPhone using Recovery Mode, but I'm not sure how to do it. Is it possible? If so, could you please provide a step-by-step guide for doing so, including any important precautions I should take beforehand?