It really depends on how the new coaching staff and front office view the teams chances in 2024. If they think this is a competitive roster now and want to make a run at the playoffs, you keep Geno.
If they think there's a need for a roster reset, you cut Geno and sign Lock while drafting a rookie.
You also have to look at Geno's cap hit. It's not just is Geno a better QB. If you save $17m by cutting him and can sign Lock for $6-8m and then say bring back Brooks with the rest of Geno's savings, is that better for the team than just keeping Geno around?
Personally, I think they need a reset. Not a major one, but there are too many bad contracts on the salary cap right now. I would look at shedding those and trying to get a young QB to pair with Lock. If Lock fails miserably, you also have another chance at a young QB next year. Really, you just need to keep taking shots at a QB until one sticks IMO.