Campaigners have locked themselves to the Scottish Parliament building.