Are you hitting an A/P or A/R account in your Journal Entries? Although if you're using an administrator role or a role with the "Override Period Restrictions" permission you should be able to post regardless of locked status (as long as the period isn't fully closed).