Added ability to lock panels to prevent movement.