1. An information handling system for enhanced system management mode (SMM) security, comprising: a processor; a memory, including: a system management random access memory (SMRAM) included in the memory; and a persistent memory; a basic input/output (BIOS) memory; instructions included in the memory, the instructions, when loaded and executed by the processor, cause the processor to: initialize the memory; initialize the BIOS memory; initialize the persistent memory; determine whether the system has previously executed a power-on self test (POST) routine; based on a determination that the system has not previously executed a POST routine: unzip a SMM Code located in the BIOS memory; and store the unzipped SMM Code in the persistent memory and in the SMRAM; based on a determination that the system has previously executed a POST routine: create a duplicate copy of the SMM Code from the persistent memory; and store the duplicate copy in the SMRAM; initialize the SMRAM; lock the SMRAM; and hide the SMM Code stored in the persistent memory.