Don’t try to partition on the M1 Macs. The SSD is using Apple File System (APFS) which supports multiple volumes, logically separate but all sharing the same space. Volumes serve the purpose that partitioning used to. They are easy to create and destroy in Disk Utility.