First check hydraulic fluid level and fill as necessary.
Possibly, but not necessarily, you might have a bad hydraulic line, hose, or loose fitting. Make sure engine is cold and pressure wash or clean best you can. Have an adult helper safely assist you when searching for hydraulic leak, lower deck, park brake on, full throttle, and mower engaged. Please work safely and let us know what you find.