Added locked property to filter element
Add test for filter locked setting