An isolated body that doesn't exchange any angular momentum with the outside universe will never stop spinning (by conservation of angular momentum). There is no way to absorb angular momentum within the body in internal degrees of freedom; the angular momentum must be transported away if you want to stop.
For example: if something is not rigid, you could have what's called "differential rotation", where maybe the crust of the planet (say) is spinning one way, but the core is spinning the opposite way. Ignore the problem of how to make this happen, just imagine it does. The core has one angular momentum, while the crust has another. But we just add them up, and they have to add to the total angular momentum of the planet initially; it won't be able to stop entirely. You can redistribute angular momentum, but you cannot dissipate total angular momentum within an isolated object, and you cannot make the total angular momentum go to zero without transferring it to the outside universe.
Tidal locking is just another way to redistribute angular momentum. Tidal locking happens because the angular momentum of (to take the most familiar example) the Earth's spin is transported to the angular momentum of the Moon's orbit. To emphasize, it gets transferred from a spin to an orbit. And this happens because the Moon is actually orbiting, and thus raising a tide. So, to answer your question in the comments of Olof's answer, tidal locking will never stop the Earth's spin, because in this scenario, the Moon will always be orbiting it. Tidal locking will eventually just make the Earth spin at just the right rate so that it rotates as often as the Moon orbits. In fact, this is what happened to the Moon, which is why we only ever see one face.