Check this thread: Remove SIM-lock patch generator. Read the first post. There is a tutorial as well.