making cards respect locked cards