Actually it should be fine. I have brought brand new iphones in, one per person, sealed in box and it was fine (this was to CGK, on 3 different trips). They were more vigilant when the iphone 6 just came out in certain neighboring countries and was not available in Indonesia yet.
Of course when I brought back Apple Watch(es) and it was not available in Indonesia yet, I took them out of the box, and in my pockets.
Also, never check in any valuables/electronics into your checked bag.