key fob on 2006 BMW 330i

the key fob will lock the doors, but will not unlock them. It will also open the trunk. the button on the dash will not unlock the doors either

Asked by for the 2006 BMW 330i
someone will need to scan this car for codes. sounds to me like a security issue, but just a guess.