As Brock Purdy advances, I wonder if Trey Lance will be available

Only way it would make sense for them to trade Lance is if they get an offer they can't turn down, and that seems unlikely. He's under contract through 2024 so, if nothing else, they can continue developing him to compete and as an insurance policy.
Yeah he has enormous upside. He was really young when he was drafted and still has great tools.

Makes a lot more sense for them to take another year and see if he can fulfill that potential while competing with Purdy. So much that if they started actively trying to trade him, I would wonder why.