Once the code is scanned, all the information from that phone will be sent to scammers. They receive all access to the phone. All personal and financial information is accessible to the scammers and often the victim's bank accounts are drained.
The gift can be kept or thrown away, but the QR code should NOT be scanned for any reason. QR code scams are nothing new. These scams show up in all places, including parking meters.
Inform your family members about the scam and avoid scanning any unknown QR codes included in the package.