lockstate