You can simply ignore this demand as it doesn’t involve any kind of threat or you can tell your teacher directly that you will not do as she says. Keep your close ones informed about this thing so that you can be on the safe side for future security.