Welcome to the Candy Crush Saga Community
Do you have a question or need help with your game? Ask the Community.
When you say locked out, what do you mean?
If you have lost your connection to Facebook/Kingdom then just go back in, reconnect and your levels should return. Maybe this thread will help as well:
https://care.king.com/en/candy-crush-saga/lost-your-connection-to-facebook-ios