A tenant can change the locks under some circumstances but should try to ask permission first.
My landlord changed the locks, what should I do?
Ultimate Guide to Understanding a Landlord's Right to Enter a Rental
Changing Locks on Rental Property - What Landlords Must Know
Can Tenants Change the Locks? - Landlord insider
Landlord Cannot Change The Locks in Florida
When is it Illegal for Landlords to Change Tenant Locks?
PayRent Changing Locks: What Landlords Should Know
Landlord Changes Locks To keep Scumbag Tenants Out - But Is It Legal?
landlord-and-tenants-change-locks