In Logic Pro, choose Functions > Lock SMPTE Position in the Piano Roll Editor menu bar (or use the corresponding PDF
Logic Pro Effects: PDF