Abstract A series of quantum locking theories have been proposed to enhance the quantum-noise-limited target sensitivity of the DECi-hertz Interferometer Gravitational wave Observatory. The quantum locking that uses a square completion optimizes the sensitivity across all frequencies. However, a substantial amount of data-series must be post-processed since the square completion is a form of signal processing technique. This paper approaches the optimal sensitivity across all frequencies from an alternative perspective: by optimizing the frequency dependence of a servo gain in a feedback loop. The optimal servo gain is formulated by comparing the alternative method with the square completion method for the same optical setup. This will be shown in general noise issues extending the framework of the quantum locking. We find that the optimal servo gain forms a non-feasible filter but has certain characteristics. We also find that the noise of the measurement signal deteriorates proportionally to the noise measured in the feedback loop when the servo gain is slightly imperfect.