Azobenzene derivatives containing phenyl/4-halogen-phenyl 4-{(E)-[4-(pent-4-en-1-yloxy)phenyl] diazenyl}benzoate group with different electronegative substituent (H, F, Cl, Br and I) at other end was synthesised. These azo-based benzoate derivatives have been characterised by FTIR, 1 H-NMR, 13 C-NMR, elemental analyser, POM and UV-Vis spectroscopy. Photosaturation at 358 nm obtained after 82 s of UV irradiation and the longest thermal back relaxation time of 45 h recorded by UV-Vis. The azo derivative could be possible photolock under UV light, as observed by the improved thermal back relaxation time. The resulting photolockable chain of azobenzene might prove valuable in the development of optical device application. These azobenzene moieties also exhibit liquid crystalline behaviour with respect to the halogen substitution as an electron withdrawing group shows that strong structure property relationship exists among them.