I agree with 4570 very good odds it’s a fault with the pilot lockout system. However if we take the OP’s description literally at his word that “nothing works “ including the mechanically operated functions there must be another issue.
These mechanically operated functions are not locked out with the pilot lockout system, only the pilot operated valves are prevented from working. As Hayden says in his post above at least some of the mechanically operated functions are locked out mechanically with the safety lever up , so it would still have to be in the down position.
On 4570’s newer 040 machine all functions are pilot controled (no mechanically operated valves) and therefore all are locked out with the pilot lockout system when safety lever is raised.
If the Op is correct that ALL functions do not work including the 2or 3 mechanically controlled valves that are not locked out with the pilot lockout system it would indicate that something besides the pilot lockout system is at fault. Could be the the engine to pump coupler let go which would definitely shut down All functions as the Op claimed.
Wish the op would give us some more info like how many hours the machine has or if he actually tested ALL functions