NXP-10803: make sure documents created checked out are also locked