Hi Kasi,
You need to familiarise yourself with the lock concept. Run a particular transaction and then in another session run transaction SM12. From there you can see the lock object(s) invoked by your transaction and check for those in ABAP.
Regards,
Nick