Last May, WhatsApp introduced the Chat Lock feature, which allowed users to protect their chats with a password or fingerprint.
The feature is available through the “Locked Chats” folder.
In addition, to provide security, WhatsApp has announced a new feature called “Secret Code” for chat lock and this is reported to be provided to all users in the coming months.