This event happened in late January, but not in Wuhan. The restriction was imposed on the accommodation of someone who had been to Wuhan. It was soon seen by the government as an over-reaction, and the metal bars used to secure the door were removed.
China's investigative media XinJing Paper reported on it
(Google Translate)
Two videos of the door of a suspected Wuhan homecomer were circulated on the Internet, causing concern. On January 30, a reporter from the Beijing News confirmed that the incident occurred in Lianshui County, Huaian City, Jiangsu Province. The reporter confirmed this "door-closing incident" from a person in charge of the propaganda department of the Lianshui County Party Committee, which said that the method was a little overdone in the special period, and the facilities to close the gate had been removed.
As far as I know, similar behaviour never happened in Wuhan.