have a mind of its own idiom mainly humorous
(机器或其他物品)有主见,自行其事
A machine or other object can be said to have a mind of its own if it seems to be controlling the way it behaves or moves, independently of the person using it.
This shopping trolley has a mind of its own. 这辆购物手推车自己还挺有主意的。