Check to see if things are unlocked first