Dynamical Tidal Locking Theory: A new source of the Spin of Dark Matter Halos