Implement a Basic SPI Lock