At Data Encode and Decode,at a function named DEN_IsBusy to check
if the status is locked.