iPhone can be shut down with screen locked and passcode set
Having Passcode Lock on, I can power off the iPhone when the screen is locked. Is this intended or is it a bug? It can be problematic to use Find My iPhone if someone steals somebody's iPhone and shuts it down.
iPhone 4