Accessing Microsoft Teams Free using personal or organizational credentials
Hello
Can you launch your web browser in InPrivate/ incognito mode first, then copy and paste the invitation link to the browser, and see if it works in incognito mode. If it still says lock, you need to let the person who invited you know. Only their organization admin can unlock your guest user in this case. It is NOT your personal account that's locked. It is your guest identify in that organization environment that's locked.
Kind of like you were invited to visit someone in their office building, but their lobby security blocks you.
I do want you to try in incognito mode, because other cached credentials could have confused this process and led to the lock.