  Motivated by the recent LHCb observations of $T_{c\bar{s}0}(2900)^0$ and
$T_{c\bar{s}0}(2900)^{++}$ in the processes $B^0\to\bar{D}^0D_s^+\pi^-$ and
$B^+\to D^-D_s^+\pi^+$, we have investigated the decay $B^-\to D_s^+K^-\pi^-$
by taking into account the contributions from the $S$-wave vector-vector
interactions, and the $S$-wave $D^+_s K^-$ interactions. Our results show that
the $D_s^+K^-$ invariant mass distribution has an enhancement structure near
the threshold, associated with the $D^*_0(2300)$, which is in good agreement
with the Belle measurements. We have also predicted the $D^+_s\pi^-$ invariant
mass distribution and the Dalitz plot, which show the significant signal of the
$T_{c\bar{s}0}(2900)$. With the same formalism, the $D^-_sK^0_s$ invariant mass
distribution of the process $B^0 \to D^-_sK^0_s\pi^+$ measured by Belle could
be well reproduced, and the peak of $T_{c\bar{s}0}(2900)$ is expected to be
observed around 2900~MeV in the $D^-_s\pi^+$ invariant mass distribution. Our
results could be tested by the Belle II and LHCb experiments in the future.
