Lock objects are created to protect table data while editing, form another user. To create a lock object, we can go to SE11 transaction, select lock object radio button and enter any name starts with "E".
Here for a table ADMI_CRIT already a lock object is created. Name : EADMI_CRIT
Here the mandatory things are :
Provide a short description .
Put the table name in the NAME field.
Select the lock mode. We mostly use Write lock to prevent someone to edit a same data while some one is editing it already.
Go to Lock Parameter tab and provide the field name to which lock object will attach. Generally we provide the primary key of the table.
Now you can Activate the lock object.
Whenever a lock object created 2 function module create automatically. Now if you want to create them as RFC, you have to go to Attributes tab and check the allow RFC check box.