A man has been charged after quick-thinking employees locked him inside a New Providence liquor store he was trying to rob.