The contributions for kaon pair from the intermediate states $\rho(1450)^+$ and $\rho(1700)^+$ in the decays of $B^+ \to \bar{D}^0 K^+ \bar{K}^0$, $B^0 \to D^- K^+ \bar{K}^0$ and $B_s^0 \to D_s^-K^+ \bar{K}^0$ are analyzed within the perturbative QCD factorization approach. The decay amplitudes for all concerned decays in this work are dominated by the factorizable Feynman diagrams with the emission of the kaon pair, and the charged $\rho$ mesons should be of great importance in the $KK$ channel of the related three-body $B$ decays. Besides, these quasi-two-body decays are CKM-favored and the relevant branching ratios are predicted in the order of $10^{-5}$, which are potential to be measured by experiments. It is also shown that the contributions of the subprocesses $\rho(1450, 1700)^+ \to KK$ for the three-body $B$ meson decays are considerable according to the total three-body branching fractions presented by Belle. Therefore, the decays $B^+ \to \bar{D}^0 K^+ \bar{K}^0$, $B^0 \to D^- K^+ \bar{K}^0$ and $B_s^0 \to D_s^-K^+ \bar{K}^0$ can be employed to study the properties of $\rho(1450)$ and $\rho(1700)$ in the LHCb and Belle-II experiments.