She made a contract to lease for a year. She is bound by that contract.
She could see if subletting is allowed under the terms of the lease then try to find tenants. Other than that she is bound by the agreement.
Alternatively, she could abscond. The agent may try to follow her but that’s very hard overseas. And yes, she has lost her deposit but that’s almost standard in Thailand.