At least two people were killed and 22 wounded Thursday by a bomb blast in a busy shopping district of the Pakistani megacity of Lahore, police and officials said.

The attack was claimed by a spokesman for the Baloch Nationalist Army (BNA), one of several ethnic separatist groups that have been waging an insurgency for years in southwest Pakistan.

The spokesman said police and bank workers were targeted "in response to the killing of women and children by Pakistani forces in Balochistan", the largest province of the south Asian nation.

There will be more attacks "unless the military regime holds meaningful talks... on the issue of national independence and withdrawal of its troops from Baloch soil", the spokesman said in a statement shared on messaging app Telegram.

Thursday's blast happened in old Lahore's busy Anarkali shopping district, damaging several motorbikes and upturning market stalls.

Security officials inspect the site of a bomb blast that killed two people and wounded 22 others in Lahore
Security officials inspect the site of a bomb blast that killed two people and wounded 22 others in Lahore AFP / Arif ALI

"Initial investigations show that it was a time-controlled device on a motorbike which was the cause of the blast," Rana Arif, spokesman for Lahore police, told AFP.

Officials said a nine-year-old child was one of those killed.

Pakistani Prime Minister Imran Khan expressed regret over the "loss of precious human lives", a spokesman for his office said.

The seven million inhabitants of mineral-rich Balochistan, bordering Afghanistan and Iran, have long complained they do not receive a fair share of its gas and mineral wealth.

China is investing in the area under a $54-billion project known as the China-Pakistan Economic Corridor (CPEC), upgrading infrastructure, power and transport links between its far-western Xinjiang region and Pakistan's Gwadar port.

The blast happened in old Lahore's busy Anarkali shopping district
The blast happened in old Lahore's busy Anarkali shopping district AFP / Arif ALI

Baloch separatists previously claimed several attacks on CPEC projects, and thousands of Pakistani security personnel are deployed in the region to counter the violence.

Pakistan has suffered a string of blasts and attacks against police since December, when a truce between the government and Pakistan's Taliban lapsed.

Tehreek-e-Taliban Pakistan (TTP) -- a home-grown movement that shares common roots with the Afghan Taliban -- has claimed responsibility for most recent attacks.

The TTP said earlier this week it was responsible for a deadly shootout in Islamabad on Monday night -- a rare attack by the militants in the heavily guarded capital.

A police officer was killed and two others injured when two TTP gunmen opened fire from a motorbike on a police checkpoint.

Police said both attackers were killed, and Pakistan's interior minister warned afterwards of the potential for further violence.

Pakistan's government announced late last year it had entered a month-long truce with the TTP, facilitated by Afghanistan's Taliban, but that expired on December 9 after peace talks failed to make progress.

The TTP has been blamed for hundreds of suicide bomb attacks and kidnappings across the country, and for a while held sway over vast tracts of the nation's rugged tribal belt, imposing a radical version of Islamic law.

But after the 2014 massacre of nearly 150 children at a Peshawar school, the Pakistan military sent huge numbers of troops into TTP strongholds and crushed the movement, forcing its fighters to retreat to Afghanistan.