Intermittent horn blasts in 2017 Buick Encore

Horn blasts “intermittantly” when door closed and FOB on person, not in vehicle.

Car is under warranty. Take it to the dealer and ask them to fix it.