Four people were killed in a massive explosion at a factory in Pakistan's eastern city of Lahore, local media reported on Thursday.