Technically, yes, CBP can search LPR and US citizen's phones and take them into interrogation room too.
Should not be worried, unless had overstay in the past, criminal history or association with questionable organizations. LPRs who spend too much time outside the US may be pressured into surrendering their GC (I-407)