Burglary is an unlawful entry into a building or structure with the intent to commit a crime, such as theft.