If you say that someone is not a person to be trifled with, you are indicating to other people that they must treat that person with respect.
He was not someone to be trifled with...
No man in Tabriz trifled with the executioner.
PHRASAL VERB: usu with brd-neg, be V-ed P, V P n