There will be no lock/unlock icon if the period is a future Accounting Period provided the Enable Accounting Period Window preference is not enabled.
To show the Lock icon Setup > Accounting > Accounting Preferences > General > General Ledger section> Enable Accounting Period Window preference.