state lock