A woman has appeared in court accused of the murder of a pensioner in South Lanarkshire.