Using micro-heaters for bonding the lid