Tidal locking
It is possible to work out how long it takes for a particular case of tidal locking to occur. It is just a rough estimate, because some factors are poorly known. An example is the rigidity of a planetary body and its change in shape under tidal force. Tidal locking is an aspect of orbital resonance.