Unfortunately, if you have forgotten the pattern the only way to remove it from your phone is to perform a hard reset operation. But, if you reset it to the factory defaults, then all your apps that you have installed on your phone will be erased. In order to erase your phone you need to dial this code: 2767 * 3855#.