Thousands of Facebook and Instagram users have reported problems accessing the social media platforms, with many saying they have been locked out of their accounts.