Loose cannon

Someone who is out of control and this situation may cause troubles

Examples

Barry is a loose cannon. We can not rely on him because you never know what he will do in next minute.