This study introduces an active shape-morphing lattice structure along with a method for controlling its deformation. A shape memory alloys (SMA) based smart lattice unit cell is proposed, this smart lattice unit cell is capable of accomplishing three distinct types of basic deformations by activating various SMA actuators through heating. By assembling these smart lattice unit cells, an entire structure can be constructed, which can undergo various modes of deformation through the activation of different actuators. To assess the deformation effects, a 3D printed active shape morphing lattice structure model is employed. Furthermore, a deformation control method for active shape morphing lattice structure using topology optimization approach is established. The optimization model takes into account both energy consumption and structural deformation errors. To illustrate the application of this approach, a numerical example involving an airfoil structure with bending deformation is presented. The desired deformation is attained with minimal energy consumption and only a 1% margin of error in deformation.