Both these locks are usually used in the Database in order to ensure control over the transactions that happen concurrently at the same time (the...