Smart rules/Core motion sensor question

So ive heard about Core, and smart rules.
I also seen a post the other day with an example on how you can use them, and the example was something i was hoping to try out myself actually, but unsure how to implement it.

Basically, I have 2 lights in my living room set to switch on when motion is detected, and switch off after 20 mins of no motion. If i set the the brightness up of either lamp, and move again, it resets it back to what i have it at when motion is detected.

I seen a rule to stop this from happening for a period of time i think, but cant find the post at all anymore. What would be the best way to do this. Bear in mind im new to all this :slight_smile:
Thanks.