TW-3798
1) Model support for specific locks on resources with custom values (ANY, ALL, SPECIFIC)
2) Wait precondition covered with tests