Messenger's App lock
- Open Messenger and tap the menu.
- Go to Settings > Privacy & safety > App lock.
- Turn on Require Face ID and choose when it locks.
Menu names change between Messenger versions; search Settings for "App lock" if it moved.
iPhone's lock (any version)
- Touch and hold the app's icon on the Home Screen.
- Tap Require Face ID (or Touch ID or Passcode).
- Tap Require Face ID again to lock it, or Hide and Require Face ID to also hide it, then authenticate.
Source: Apple.
Turn the lock off
In Messenger, turn off App lock; on iPhone, touch and hold the icon and tap Don't Require Face ID.
A password of its own
Cloak locks Messenger behind a Cloak password (Premium), hides it everywhere, and groups it with other chat apps.