Tidal locking is when the rotation of a planet or moon is equal to its orbital period. It's actually quite common in our solar system and likely elsewhere. How does that actually happen though?