// Locks a record so that it can only be updated or deleted by this client.
// If the specified record is already locked, the current thread gives up
// the CPU and consumes no CPU cycles until the record is unlocked.
Must allow the user to search data for all records, or for records where the name and/or location.
Your user interface should be designed with the expectation of future functionality enhancements, and it should establish a framework that will support this with minimal disruption to the users when this occurs.
You are permitted to use any IDE tool you choose, but you must not submit any code that is not your own work.
It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user.