Bluetooth keyboard connections can be faked, and there is no protection
Restored Apple Magic Keyboard for iPad Pro 11-inch (3rd, 2nd and 1st Generation) and iPad Air (5th and 4th Generation) - US English - Black (Refurbished) - Walmart.com
Apple Magic Keyboard with Touch ID and Numeric Keypad Review - RTINGS.com
Amazon.com: Apple Magic Keyboard with Touch ID and Numeric Keypad : Electronics