If your landlord changed the locks on your home while you were away, they illegally locked you out, which is a criminal offense. You should contact an attorney as soon as possible to determine how to proceed, as you could sue your landlord. In some cases, tenants can recover treble damages if they experience an “illegal lockout.”