The car is re-locking after you close the trunk. You are probably getting to your side door and opening at the same time the car’s system is catching up to the closing of the trunk. Give it a few seconds after you close the trunk to see if the lock sound happens. Then open your driver door...