Yes, the last selected object is the "active" object. But you can get what you wish in this way: apply desired locks to one of the object. Then select all the others, and as last also the locked one.
Then use the "copy constraint to selected objects" (use the space bar to find the command, or look under the menu "object > constraints").