Cause
- The date entered to lock the accounting is not valid.
- A lock has been activated previously without sorting of the transactions..
There are transactions with a date greater than the locking date, but it's locking number is inferior to the transaction related to the locking date.
Solution
- Check your date and enter a valid one.
- Unlock the entire accounting (no locking dates).