5 answers

When you build an Approval Process, while the record is submitted for Approval it is also locked and you've to specify who can modify the record during that phase?
I would suggest you check this configuration within your approval process and you can get this accomplished without any additional code.