Earlier quoted context omitted.
It's possible for the pilot to depressurise the plane and use their dedicated oxygen system to breathe while everyone else on board will pass out after using their individual masks. Doing so will give them 60-90 minutes of extra air, the passengers' masks don't last that long.
What legitimate reason would a pilot have to depressurize a plane at altitude, incapacitating or killing the passengers? Just wondering if and if so why that system / function is available.
Ultimately the pilots have to be able to turn anything off that might malfunction.
Also even if you (try to) take capabilities away they are by definition quite smart people and could probably figure a way round if they really wanted to.