I understand that using the exit class, we can lock the data slice by checking particular conditions like if period is 3 then lock the data slice. This will lock all the data records in the cube against changes. But if I need to lock only selective data records after checking the condition how is it possible.
Example : If period is 4, lock data from 1 to 3 using exit class.
Please note that I do not want to lock the data slice using selection (user variables).