Locks are made to ensure consistency in a database. Consistency provides you with successive, reliable, and uniform results of your database transactions. This section describes the locks that are used at each of the four transaction isolation levels.