change delete to hide when its locked -refs # 6880