Using the Instant Pot turn on the setting for sauté. Add the minced onion and carrots. Cook for about 4 minutes.
Add the garlic, cumin, chili powder, red pepper flakes, and salt. Cook for about 1 minute.
Add the tomatoes, water, and lentils. Turn on the pressure setting to high and cook for 25 minutes. Natural release for 10 minutes.
Shred the cheddar cheese put it in a medium bowl and set aside. (See note)
Take a large pot filled with vegetable oil. Heat to 350 degrees. Fry the fries according to package. Place cooked fries on a baking sheet lined with paper towel.
Place the fries on a large plate, top it with the cooked chili, cheese, sour cream, and green onions. Enjoy!