add [lockbud](https://github.com/BurtonQin/lockbud.git) for detection
**somes** deadlocks.
Need to remove the macros lock since lockbud would not be able to give
the right location with it.
The following command was used on the source code to reduce manual
modifications.
`
fd "*.rs" src/| xargs -I {} sd 'lock!\(([^\)]*)\)'
'$1.lock().unwrap()'{}
`