Add lock_holders function to see who holds the locks