functionality to lock polling station