To prevent unauthorized access to the VBA source code, lock the project from viewing and set the module password to open your project in the Microsoft Visual Basic (VBE).
If you encounter the enter password dialog (see below) when opening the VBA project in Microsoft Visual Basic (VBE), it means that the VBA project is password-protected.

The password for a VBA project can be either instantly recovered or instantly removed and replaced with a new one by the Word Password Recovery program.