Data locking for single record

Hi all,
I would like to know if there’s a way to lock or prevent data modification for some data record (after meeting a criteria, like treatment complete with outcome).

Our project will first enter patient data and update treatment outcome later. We would like to ensure those data with complete treatment outcome will not be modified…

I have looked up library locking but it seems that it only locks survey form but data access.

Any advice or experience sharing?
Thanks a lot in advance.

@kateshih28, did you mean you wish to lock the editing feature at the server level (so that the submissions could not be edited even on the server)?

however, we would need to update the treatment outcome later.
Would you say creating a child project is the better practice?