The Apple–FBI encryption dispute concerns whether and to what extent courts in the United States can compel manufacturers to assist in unlocking cell phones whose data are cryptographically protected.
The content of all messages sent using WhatsApp are protected by the same Signal encryption protocol that secures messages before they leave your device, which ensures only you and the person you're communicating with can listen to or read what you're sending, and nobody in between, not even WhatsApp.