If in case of wallet is locked means either my wallet is will get stake or not .......
when your wallet is lock your staking process will stopped and when you unlock your wallet your staking will be continues from where it as been stopped
but when the wallet is in lock the coin maturity will be increase.....