No, it’s legal to change locks on your own property. Landlords may have specific rules regarding tenant rights.