Search for physics beyond the standard model in multilepton final states in proton-proton collisions at $$ \sqrt{s} $$ = 13 TeV