MT#8709 API: Always update lock-level

Allowing therefore to delete it.

(cherry picked from commit 69a46142c2aa996190cfb48eacdecd0a9aae5541)