The mutex subcommand displays a list of active mutex objects for the application program. All active mutex objects are listed unless you use the number parameter to specify the mutex objects you want listed. You can also select only locked or unlocked mutexes, or mutexes with or without waiters, by using the lock, unlock, wait, or nowait options.
#pragma runopts(TEST(ALL))
Or:
The mutex subcommand can be run only while the dbx debug program is running.
mutex
mutex 1 4
mutex lock
mutex unlock
mutex wait
mutex nowait