Authorities say the man surprised a resident at the Paddock Club Apartments in Tallahassee trying to get in her apartment when she came to the door.
The resident closed the door on the suspect's arm, but he managed to get away.
"It could have been something more serious, but her fighting back made him flee," said Rudy Hinson with the Tallahassee Police Department.
This incident happened shortly before noon on Wednesday. Police have not released a description of the suspect.
Anyone with information is urged to call Crime Stoppers at 850-574-TIPS.