Stabilisation of laser output parameters, e.g. frequency, amplitude by controlling a device placed within the cavity for stabilising of frequency