Hello EddieLeon, you will be able to find out the type of socket of your processor by checking this link ark.intel.com. According to it the I5-3230M processor supports PGA socket ARK | Intel® Core™ i5-3230M Processor (3M Cache, up to 3.20 GHz) rPGA
Please check the additional information on these 2 types on sockets.
PGA = Pin Grid Array. PGA CPUs are inserted into a socket which means they can potentially be upgraded in the future. The BIOS must recognize the CPU though otherwise the laptop (or desktop) may not boot at all or the CPU runs at reduced speeds.
BGA = Ball Grid Array. These CPUs are soldered directly into the motherboard (embedded) which makes them extremely difficult / impossible to replace the CPUs without proper equipment. It is doubtful that a laptop (desktop) with a BGA socket CPU would support other CPU models