added model locking plugin