If an electronic malfunction occured, the transmission goes into what is called the limp mode, you will still have 2nd and reverse gear. With no movement in any gear, it's a mechanical malfunction or the transmission is really low on fluid. One other cause is that the filter has dropped out of the suction tube. This can happen if a deep pan has been installed or it's a 4x4 and the wrong filter has been installed.
Mechanical Malfunctions
Flexplate bolts to crank have sheared.
Flexplate cracked/broken around bolt circle.
Pump drive shaft broken.
Torque converter to flexplate bolts sheared.
Torque converter to flexplate bolt nuts backed off, allowing TC to move out of the flexplate.
Torque converter exploded internally.
Worst scene.
Go Here