The easiest method is to use your phone’s built-in app lock feature. On Android, go to Settings > Security > App Lock (or Privacy) and enable it for WhatsApp, setting a PIN or fingerprint. On iPhone, use the Screen Time feature to set a passcode or enable Face ID/Touch ID for WhatsApp under Settings > Privacy > App Lock. No extra apps needed, and it works instantly.