Table: Remove superfluous and markup-whise invalid "locked" attribute

Fixes gh-7381
Table: Make sure column stays hidden if unchecked input is set unchecked