
Tenants may be allowed to change the locks in Pennsylvania but it is recommended that they get landlord permission first. Landlords may not unilaterally change locks as a form of eviction (i.e. “lockouts”).
The information for this answer was found on our Pennsylvania Landlord Tenant Rights answers.