If the landlord hasn’t changed the locks since the last tenant, you can request that they do so before you move in.