Page stop while scrolling to play lottie animation

Hello there,
I’m trying to do a scroll to play lottie animation. What I want is when I scroll to the animation section, the page stops there and the lottie animation plays slowly as users scroll. And when the animation is finished, the page scrolls. Now I have the lottie animation plays, but it plays so fast because there is only a small window for it to play before I scroll out of the section. Sorry about the confusing explanation.