Cause
If the accounting has been locked at and for a certain date, entering transactions for a date that is equal or preceding the locking date won't be possible.
Solution
Check the transaction's date and if your transaction must be entered nevertheless, unlock your accounting first.
For further information refer to the Lock transactions page.