Not in Germany. The landlord only has access in emergencies or in your presence, and the preventing renter from accessing whatever they rented isn't legal under any sane circumstances.
Of course you can terminate the contract, but for rented flats or houses that includes 3 to 9 months of notification period (depending on how long the contract is already running).
Germany and Austria are not exactly "at-will" countries: existing legislation is about balancing the interests of both parties, and when in doubt favors the regular person.
yeah you have some better arrangements that were gained to be clear in part through union organizing, not just because landlord and govt decided to be nice. we're "at the mercy of the lord" only as far as we let ourselves be collectively
Most landlords, that aren't part of a huge company, actually take care of the property and such. As in they provide a service on top of just allowing you access. With digital licensing, not even that exists.