It's not a button it's actually a lamp. Riot mode is activated from a centralized location inside of the building. What happens is is that when a riot is happening they can turn on riot mode and that light will light up and the elevator will not be allowed to travel to the ground floor however it will be allowed to travel to every other floor so that the elevator does not open up into a mob
Umm, wouldn't you already know if there's a riot outside, before you get on the elevator? I could hear protests from the 16th floor. This is really bizarre.
The elevator controller stops the cab from arriving at floors accessible from the outside of the building, with the intent of slowing rioters down before they get to any "mission critical" floors or rooms.