Hi, Simon.
1. To unlock user you can use web UI to search for her/him, then change its status to "Active"
2. Regarding password expiration, please check [this ticket](https://support.gluu.org/other/2769/expiration-policy-and-password-reset/)
Best regards,
Alex.