Hi ,
It is not possible in R/3. Raw material ATP and Pegging is not locked. If you need to lock and keep Raw materials assigned to Production order , you have to use SAP SCM.
Material can be issued to any order even if it is reported to be on a particular order. ATP is performed at gross level in SPA R/3.
Best Regards
Jatin