A simple, easy-to-implement, and robust technique is reported to offset lock two semiconductor lasers with a frequency difference easily adjustable up to a couple of tens of gigahertz (10 and 19 GHz experimentally demonstrated). The proposed scheme essentially makes use of low-frequency control electronics and may be implemented with any type of single mode semiconductor laser, without any requirement for the laser linewidth. The technique is shown to be very similar to the wavelength modulation spectroscopy method commonly used for laser stabilization onto molecular absorption lines, as demonstrated by experimental results obtained using 935 nm laser diodes.