There are a lot you can buy with door anchors. Basically little discs or like a fabric 'bump' which goes the top of the door, which you close, and then you pull the opposite direction of where the door swings open.
I got these ones before lockdown panic - though I use them with my pull up bar which allows one to do a lot more exercise than if you're stuck with a door block you. The pull up bar doesnt leave any marks though I also have an old house with solid wood frames i've wondered hw secure it would be resting on the lip of a cheap mdf narrow frame
https://store.trxtraining.com/trx-full-body-workout-bundle/