A temporary Facebook lock usually lasts for 24 to 48 hours. Your account will unlock as soon as you complete the instructions. If you haven’t received the security code or experienced any other problem, contact Facebook.