Walking through a Holy Door in a Jubilee year is a plenary indulgenced work, and needs to be done under the “usual conditions” for a plenary indulgence:
- be in a state of grace when you walk through the doors
- confess within 20 days before or after
- receive one communion within a few days of walking through the door,
- pray for the intentions of the Holy Father,
- and have no attachment to sin, even venial sin.
If you successfully accomplish all these things with the intent of obtaining the plenary indulgence, and furthermore you intend to keep it for yourself and not give it away to holy soul in purgatory, then yes, the plenary indulgence wipes away all temporal punishment from sin up to that point in our lives.
If you do not meet one of the “usual conditions” then the indulgence will be partial, meaning that it will wipe away some of the temporal punishment, but not all. Presumably, the closer you come to meeting all the conditions, then the more temporal punishment is removed, for example if you met almost all the conditions you could have 90% temporal punishment removed but if you met none of them you could have 1% of the temporal punishment removed. But we have no way of knowing for sure exactly how much is removed.
I would note that you can get a plenary indulgence every single day of every single year (one a day maximum) for doing all kinds of stuff that you can do every day, such as praying Rosaries, making Stations of the Cross, reading the Bible, etc. You don’t need to wait for a Jubilee year with holy doors. I’m very familiar with Holy Doors because I walked through something like 20 of them (Some of them multiple times) during the Year of Mercy a few years ago, that’s how I got started with plenary indulgence practice. All they are, is an easy plenary indulgence, because typically doing a plenary indulgenced work takes about a half hour, with some exceptions.