How to make a column editable based on time?

I’m trying to make my columns editable based on time. What I’m looking to do is to have a customer be only able to edit a column if it is more than or equal to 60 hours before a deadline. For example: If a customer wants a delivery on Monday at 7am they will only be able to edit the column until the previous Friday at 7pm.