With regard to the stop timer: Many samples are to be found on the forum, like [Simple] Lights turning on/off based on motion or [Tutorial] Simple movement-triggered automatic light with zone activity cards (just 2 flows!)
Your flows might work most of the time, depending on how sensitive your motion sensor is (how fast it stops detecting motion) and how long the delay is.
But it’s also simple common sense: The timer is to give you time to start moving again when you stopped doing so. It ‘s how long you sit still that is relevant, not how long since you started moving.