To lock WhatsApp on Android, launch the app, tap the three-dot menu, navigate to Settings > Privacy > App Lock, and turn on "Unlock With Biometric." To lock WhatsApp ...
In the interests of enhanced privacy, some third-party iOS apps include an option to require passcode or Face ID authentication before they can be opened, even though the iPhone is already unlocked.