A deadlock is not a type of lock (like a S, U, or X lock). It is a condition that occurs when two or more applications are already holding one lock (successfully) and they each need to obtain another lock which another application holds. In this case, the deadly embrace will never be resolved, until DB2 returns a -911 reason code 2 to one of the applications. DB2 arbitrarily picks one of the applications involved in a deadlock as its victim for the -911, so that the other application can continue.
A lock timeout (-911 reason code 68) is not quite the same as a deadlock. This occurs when one application holds another lock that is need by a second application. Eventually a lock timeout would resolve itself when the first application finishes, but most DBA's set a time limit for the wait time, after which the -911 is returned to the second application.