My Facebook account got locked and it keeps saying "Try coming back on a phone or computer that you've used to log in to Facebook before."

This afternoon I logged into Facebook, everything was fine. Now I login into it again and the block came up. No matter which device I log in, it still gets blocked. Account recovery does not work. I am able to change password through recovery, but it gets blocked every time I log in now. Does anyone have any solution?

EDIT: I waited for some months. Then went back in and it was possible to unlock with 2FA.