There is a minor inconsistency in how the transformation locks are aligned in the sidebar, compared to the properties editor. Where the properties editor uses a fixed-width column of lock icons, the sidebar uses split layout. Here's a comparison shot of what this patch does:
This patch isn't 100% feature-complete. I need to make the tweaked layout more translation-friendly, and I need a more deliberate choice of icons for the four-component editing toggle (for quat and axis-angle rotation). I'd appreciate feedback on the latter, especially, as icons aren't my usual wheelhouse and the if-statement I'm using to swap the icon is less than elegant.