[Minor] all commands now lock their elements before doing their work