X said on Thursday that it would work with the Pakistani government to understand its concerns after it insisted on a two-month ban on security grounds.