Patent attributes
To provide a work machine that can stop unexpected operation of actuators faster than it actually occurs even if unintended operation occurs at the time of gate lock lever switching that leads to such unexpected operation. In the work machine, a controller switches a lock valve from a lock position to a release position in a case where a lock operation device is operated from a permission position to a prohibition position; decides, on the basis of a result of detection by a pressure sensor, whether or not a pilot hydraulic fluid has been output from a pilot valve until first time elapses after the lock valve is switched to the release position; keeps the lock valve at the lock position if it is decided that the pilot hydraulic fluid has been output until the first time elapses; and switches the lock valve from the lock position to the release position if it is decided that the pilot hydraulic fluid has not been output until the first time elapses, and second time elapses.