The guards for that door used to be a little loosy-goosey about access to the passage from Sistine into basilica but now even the Vatican's own tours for the museums don't allow their customers to use it. You have to be on a museums+ basilica combo tour (the Vatican doesn't offer one) that includes that benefit. Again, take a look at the firsthand review (#83 and #84) in the TA link I'd provided regarding the Holy Doors. This comment:
"But you can't enter St. Peter's directly unless with a tour, so we had to exit the museum and walk back around to the square."
I've no firsthand experience with the Holy Doors but in addition to the one report I'd linked, here's another:
https://www.chiluxetravel.com/ultimate-guide-to-visiting-st-peters-basilica-during-the-vaticans-jubilee-year-in-2025-holy-doors-tips-and-must-knows/
Of interest in that blog piece:
"We actually had absolutely no idea what we were doing when we were there, and had no clue where to go, but there are gobs of volunteers in bright, fluorescent green jackets walking around to help. I simply showed them my app and QR code, and they let us through to the special line. No one scanned my code or anything, and we were an hour late for our “reservation,” but that didn’t seem to matter. I suspect it might start to matter when there are greater numbers of people in the spring and summer."