This macro is used to lock a field and get the data to be typed into it.