Antimicrobial peptides have gradually gained advantages over small molecule inhibitors for their multifunctional effects, synthesising accessibility and target specificity. The current study aims to determine an antimicrobial peptide to inhibit PknB, a serine/threonine protein kinase (STPK), by binding efficiently at the helically oriented hinge region. A library of 5626 antimicrobial peptides from publicly available repositories has been prepared and categorised based on the length. Molecular docking using ADCP helped to find the multiple conformations of the subjected peptides. For each peptide served as input the tool outputs 100 poses of the subjected peptide. To maintain an efficient binding for relatively a longer duration, only those peptides were chosen which were seen to bind constantly to the active site of the receptor protein over all the poses observed. Each peptide had different number of constituent amino acid residues; the peptides were classified based on the length into five groups. In each group the peptide length incremented upto four residues from the initial length form. Five peptides were selected for Molecular Dynamic simulation in Gromacs based on higher binding affinity. Post-dynamic analysis and the frame comparison inferred that neither the shorter nor the longer peptide but an intermediate length of 15 mer peptide bound well to the receptor. Residual substitution to the selected peptides was performed to enhance the targeted interaction. The new complexes considered were further analysed using the Elastic Network Model (ENM) for the functional site’s intrinsic dynamic movement to estimate the new peptide’s role. The study sheds light on prospects that besides the length of peptides, the combination of constituent residues equally plays a pivotal role in peptide-based inhibitor generation. The study envisages the challenges of fine-tuned peptide recovery and the scope of Machine Learning (ML) and Deep Learning (DL) algorithm development. As the study was primarily meant for generation of therapeutics for Tuberculosis (TB), the peptide proposed by this study demands meticulous invitro analysis prior to clinical applications.