to do something that is very risky or dangerous
If you keep lying to your boss, you're playing with fire.
上司に嘘をつき続けるなら、火遊びをしているようなものです。