I guess you need to plant X trees, wait Y years for them to accumulate Z carbon and then bury all the trees M meters underground to stay there forever.
I'd pile them up in some desert. Should last a few centuries.
We’ve seen this happen with carbon capture programs already.