Timebound document status update

We have a usecase where in when the user completes all the data entry, the status of the documents is set to “recall” for 2 hours after the completion where the user can make changes to the document within those 2 hours. If the user completes the assessments clicks on submit then they can edit this record within 2 hours. This is internal business logic. However, after 2 hours the status must be changed to “completed” within the cblite database. Is there a way to do this within the document itself a timebound status change configuration, or is it something that application should take care of.