add method for getting lock column