it should be A locking is done to achieve concurrency control
b)file protection by using password is different concept than locking
c)sensitive information is hidden through pvt or protected class method
d)before updation its lock has to be uncloked by the user who have locked it so no question of it too