When an account is locked, Facebook makes it invisible to the public and even to the account holder’s friends list. Anyone searching for the account will see "Account Temporarily Unavailable" or a generic "Content Not Found" error.
For more information on Facebook's account recovery process, I recommend visiting Facebook's official help center.
Viewing a depends on whether you are trying to view someone else's restricted profile or regain access to your own locked account. Facebook’s Profile Lock is a security feature that prevents non-friends from seeing posts, photos, or full-sized profile pictures. 1. Viewing Someone Else’s Locked Profile