Typically, the lentils should soak up most if not all of the liquid, with a meaty addition like textured vegetable protein which would thicken it even more. Aside from those two options, you could use a little bit of tomato paste, or maybe even make a tiny bit of corn starch slurry.