add missing lock-state flag to untaint
- [x] Docs - [x] Command Unit Tests - [x] State Unit Tests Closes #4820