Sort.
Pick a big table. Select all rows, ordered by a column that isn't in the index. Er, that's it. Note: this won't simulate a sort, it will really do one...
Deadlock.
DB2 has quite sophisticated deadlock detection, so it's quite hard to engineer a deadlock. Are you trying to create a deadlock that DB2 will detect and break, or one that it won't see?