lock management - 1st step