Hi
This is a standard SAP Behaviour which locks the materials for costing purpose so that no adhoc changes takes place during execution of the costing part in a Costing Run. The moment this process is complete, it unlocks the material for regular transactions. If volumes are too high, suggest you schedule the job in background after office hours to mitigate this problem.
Regards
Mustafa Sakerwala