Use constants for lock state