An insulated lunch bag slows warming; it does not create refrigeration. For perishable cold lunches, USDA recommends at least two cold sources. Put one above the food and one below it, then use a refrigerator at the destination when available.

Start cold, then pack
Chill the food before packing it. A warm container placed beside frozen gel packs makes the packs do extra work and is not a substitute for safely chilling the food in advance. Use an insulated bag that closes fully and can hold both cold sources around the perishable items. Check that the containers close securely so they do not leak onto other food.
Frozen gel packs or a frozen water bottle can be part of the plan. The purpose is to keep the food cold, not to decorate the outside of the bag with a single cool object. Place the perishable portion between the cold sources instead of putting both next to a side pocket away from the food.
A morning example
You are packing a chilled chicken sandwich, a sealed yogurt and an apple. Put the first frozen pack at the bottom, the sandwich and yogurt together in the middle, and the second frozen pack above them. The apple does not need to take the coldest space in the bag. If you can refrigerate the lunch when you arrive, move the perishable items to the refrigerator promptly rather than leaving the closed bag on a desk.
Have an alternative when you cannot keep lunch cold
Choose food explicitly suitable for room-temperature storage until use, such as a whole uncut apple, crackers and a sealed shelf-stable product. Check opening instructions; something that is shelf-stable when unopened may have different instructions once opened. Make a plan for leftovers before packing a large portion.
Two cold sources are a packing practice, not a guarantee of a particular holding time. A hot car, a long delay or warm food at the start changes the situation.