Disable selection if locked