In some lights such as in the D4V2, you can do a ¼ turn on the tailcap for a mechanical lockout.
And it looks like the light you've mentioned has a mechanical lockout too. https://thelitereview.com/flashlights/olight-s1r-ii-baton-review/#:~:text=A%20quarter%20turn%20(anti%2Dclockwise)%20of%20the%20tail%20portion%20of%20the%20light%20will%20enable%20mechanical%20lockout.
In some lights such as in the D4V2, you can do a ¼ turn on the tailcap for a mechanical lockout.
And it looks like the light you've mentioned has a mechanical lockout too. https://thelitereview.com/flashlights/olight-s1r-ii-baton-review/#:~:text=A%20quarter%20turn%20(anti%2Dclockwise)%20of%20the%20tail%20portion%20of%20the%20light%20will%20enable%20mechanical%20lockout.