try doing it this way
get all locked entries by calling function enque_read then pass the parameter table name and user then call the function module enque_delete then pass the table from enque_read it shld work
try doing it this way
get all locked entries by calling function enque_read then pass the parameter table name and user then call the function module enque_delete then pass the table from enque_read it shld work