[masterlock] check master lock when going to the skin settings window.

Closes #14070.

Gotham material.