The English sentence sounds weird grammatically. It is better written as "She did not play the piano." rather than "She did not play piano". Musical instruments generally need the definite article "the". Examples: She plays the guitar. He played the flute last night. There may be a few exceptions though. Reported.
I don't know what "playing with the piano" would mean. But let's assume we are in a fairy tale like Beauty and the Beast where furniture and household items are sentient. In that case "She wasn't playing with the piano" would be "Вона не гралася з піаніно" in Ukrainian.