If the record was created 24 hours before, restrict the user from editing some of the fields and sublists. For that, we can use a client script to disable the fields and sublists in the PageInit entry point based on the conditions. The sample codes are given below,