San Juan police are investigating an incident in which a prisoner escaped lawful custody and even allegedly found a firearm which he turned on law enforcement.