I have been looking into the orbital mechanics of tidally locked worlds lately and saw some interesting things. Namely that would-be tidally locked moons/planets can have rotation periods that differ from their revolution periods, a phenomenon that has to do with orbital resonance.
Case in point mercury would have a spin-orbit resonance of about 3:2, meaning that it rotates 3 times over the time needed for 2 revolutions.
I was wondering what would be the conditions needed for a satellite to have that kind of spin-orbit resonance to it's primary body, like for example a gas giant?
And more specifically what kind of conditions would be needed to have a spin-orbit resonance of 5:2?