Revert "Add some statement to Locking."

This reverts commit e2bedb70
2 jobs for revert-e2bedb70 in 2 minutes and 11 seconds
Status Job ID Name Coverage
  Before
passed #4759
documentation

00:00:36

 
  Build
passed #4760
snapshot

00:01:34