Cook the lentils until al dente (about 30 minutes), or according to the packet instructions, adding the remaining garlic and thyme to the cooking water. Allow the lentils cool a little in the cooking water, then drain them, discarding the thyme and garlic.