Error Submit block Unable to sign block wallet locked

When we try to submit the block we received the error message unable to sign block wallet locked. Any one can help us to fix this issue.

you have to unlock the wallet

How to unlock the wallet, we have not locked or encrypted the wallet yet.

have you tried encrypting the wallet and then unlocking it?