Fix for INCDT-21110

when model refreshes on workspace close, instruct to not obtain new lock
implemented unit test