Archive lock

i think it would be better to throw an exception for this